Esempio n. 1
0
 public static LzmaResult lzma_stream_encoder_mt(ref LzmaStream stream, ref LzmaMT mt)
 {
     if (SupportsMultiThreading)
     {
         return(lzma_stream_encoder_mt_ptr(ref stream, ref mt));
     }
     else
     {
         throw new PlatformNotSupportedException("lzma_stream_encoder_mt is not supported on this platform. Check SupportsMultiThreading to see whether you can use this functionality.");
     }
 }
Esempio n. 2
0
 public static LzmaResult lzma_easy_encoder(ref LzmaStream stream, uint preset, LzmaCheck check) => lzma_easy_encoder_ptr(ref stream, preset, check);
Esempio n. 3
0
 public static void lzma_end(ref LzmaStream stream) => lzma_end_ptr(ref stream);
Esempio n. 4
0
 public static LzmaResult lzma_code(ref LzmaStream stream, LzmaAction action) => lzma_code_ptr(ref stream, action);
Esempio n. 5
0
 public static LzmaResult lzma_alone_decoder(ref LzmaStream stream, ulong memLimit) => lzma_alone_decoder_ptr(ref stream, memLimit);
Esempio n. 6
0
 public static LzmaResult lzma_auto_decoder(ref LzmaStream stream, ulong memLimit, LzmaDecodeFlags flags) => lzma_auto_decoder_ptr(ref stream, memLimit, flags);