pub struct LzmaDecoder { /* private fields */ }
Available on raw_decoder only.
Expand description

Raw decoder for LZMA.

Implementations§

Creates a new object ready for decompressing data that it’s given for the input dict size, expected unpacked data size, and memory limit for the internal buffer.

Performs the equivalent of replacing this decompression state with a freshly allocated copy.

Because the decoder state is reset, the unpacked size may optionally be re-specified. If None is given, the previous unpacked size that the decoder was initialized with remains unchanged.

This function may not allocate memory and will attempt to reuse any previously allocated resources.

Decompresses the input data into the output, consuming only as much input as needed and writing as much output as possible.

Trait Implementations§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.