Struct zstd_seekable::Seekable[][src]

pub struct Seekable<R> { /* fields omitted */ }
Expand description

The type of decompressors.

Implementations

Decompress a single frame. This method internally calls decompress, and dest must be exactly the size of the uncompressed frame.

Decompress starting from an offset. The length of out must be at least the size of the decompressed output.

This function finds the correct frame to start with, and takes care of decompressing multiple frames in a row.

Number of frames in the message.

Offset of the frame in the compressed data.

Size of the frame in the compressed data.

Offset of the frame in the decompressed data.

Size of the frame in the decompressed data.

Perform a binary search to find the frame containing the offset.

Initialise a decompressor with an input buffer.

Initialise a decompressor with a file. This method opens the file, and dropping the resulting Seekable closes the file.

Trait Implementations

Executes the destructor for this type. 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

Performs the conversion.

Performs the conversion.

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.