internal static extern LzmaReturn lzma_easy_encoder(ref LzmaStream stream, UInt32 preset, LzmaCheck check);
internal static extern LzmaReturn lzma_easy_buffer_encode(UInt32 preset, LzmaCheck check, void *allocator, byte[] @in, UIntPtr in_size, byte[] @out, UIntPtr *out_pos, UIntPtr out_size);
internal static LzmaReturn lzma_easy_buffer_encode(UInt32 preset, LzmaCheck check, void *allocator, byte[] @in, UIntPtr in_size, byte[] @out, UIntPtr *out_pos, UIntPtr out_size) => IntPtr.Size > 4 ? X64.lzma_easy_buffer_encode(preset, check, allocator, @in, in_size, @out, out_pos, out_size) : X86.lzma_easy_buffer_encode(preset, check, allocator, @in, in_size, @out, out_pos, out_size);
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);
public static unsafe LzmaResult lzma_easy_buffer_encode(uint preset, LzmaCheck check, void *allocator, byte[] @in, UIntPtr in_size, byte[] @out, UIntPtr *out_pos, UIntPtr out_size) => lzma_easy_buffer_encode_ptr(preset, check, allocator, @in, in_size, @out, out_pos, out_size);
public static LzmaResult lzma_easy_encoder(ref LzmaStream stream, uint preset, LzmaCheck check) => lzma_easy_encoder_ptr(ref stream, preset, check);
internal static extern LzmaResult lzma_easy_encoder(ref LzmaStream stream, uint preset, LzmaCheck check);