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."); } }
public static LzmaResult lzma_easy_encoder(ref LzmaStream stream, uint preset, LzmaCheck check) => lzma_easy_encoder_ptr(ref stream, preset, check);
public static void lzma_end(ref LzmaStream stream) => lzma_end_ptr(ref stream);
public static LzmaResult lzma_code(ref LzmaStream stream, LzmaAction action) => lzma_code_ptr(ref stream, action);
public static LzmaResult lzma_alone_decoder(ref LzmaStream stream, ulong memLimit) => lzma_alone_decoder_ptr(ref stream, memLimit);
public static LzmaResult lzma_auto_decoder(ref LzmaStream stream, ulong memLimit, LzmaDecodeFlags flags) => lzma_auto_decoder_ptr(ref stream, memLimit, flags);