Function init [src]

Prototype

pub fn init(allocator: Allocator) !Decoder

Parameters

allocator: Allocator

Source

pub fn init(allocator: Allocator) !Decoder { return Decoder{ .lzma_state = try DecoderState.init( allocator, Properties{ .lc = 0, .lp = 0, .pb = 0, }, null, ), }; }