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.