Beispiel #1
0
 internal static void lzma_end(ref LzmaStream stream)
 {
     if (IntPtr.Size > 4)
     {
         X64.lzma_end(ref stream);
     }
     else
     {
         X86.lzma_end(ref stream);
     }
 }
 internal static extern LzmaReturn lzma_stream_encoder_mt(ref LzmaStream stream, ref LzmaMT mt);
 internal static extern LzmaReturn lzma_stream_decoder(ref LzmaStream stream, UInt64 memLimit, UInt32 flags);
 internal static extern void lzma_end(ref LzmaStream stream);
 internal static extern LzmaReturn lzma_code(ref LzmaStream stream, LzmaAction action);
Beispiel #6
0
 internal static extern LzmaReturn lzma_stream_encoder_mt(ref LzmaStream stream, ref LzmaMT mt);
Beispiel #7
0
 internal static extern void lzma_end(ref LzmaStream stream);
Beispiel #8
0
 internal static extern LzmaReturn lzma_code(ref LzmaStream stream, LzmaAction action);
Beispiel #9
0
 internal static extern LzmaReturn lzma_stream_decoder(ref LzmaStream stream, UInt64 memLimit, UInt32 flags);
Beispiel #10
0
 internal static extern LzmaReturn lzma_easy_encoder(ref LzmaStream stream, UInt32 preset, LzmaCheck check);
Beispiel #11
0
 internal static LzmaReturn lzma_easy_encoder(ref LzmaStream stream, UInt32 preset, LzmaCheck check)
 => IntPtr.Size > 4 ? X64.lzma_easy_encoder(ref stream, preset, check) : X86.lzma_easy_encoder(ref stream, preset, check);
Beispiel #12
0
 internal static LzmaReturn lzma_stream_encoder_mt(ref LzmaStream stream, ref LzmaMT mt)
 => IntPtr.Size > 4 ? X64.lzma_stream_encoder_mt(ref stream, ref mt) : X86.lzma_stream_encoder_mt(ref stream, ref mt);
Beispiel #13
0
 internal static LzmaReturn lzma_code(ref LzmaStream stream, LzmaAction action) => IntPtr.Size > 4 ? X64.lzma_code(ref stream, action) : X86.lzma_code(ref stream, action);
Beispiel #14
0
 internal static LzmaReturn lzma_stream_decoder(ref LzmaStream stream, UInt64 memLimit, UInt32 flags)
 => IntPtr.Size > 4 ? X64.lzma_stream_decoder(ref stream, memLimit, flags) : X86.lzma_stream_decoder(ref stream, memLimit, flags);