pub struct DecompressorOxide { /* private fields */ }
Expand description

Main decompression struct.

Implementations

Create a new tinfl_decompressor with all fields set to 0.

Set the current state to Start.

Returns the adler32 checksum of the currently decompressed data. Note: Will return Some(1) if decompressing zlib but ignoring adler32.

Returns the adler32 that was read from the zlib header if it exists.

Trait Implementations

Create a new tinfl_decompressor with all fields set to 0.

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.