Expand description

Implementation of chunked-compression library in Rust. Archives can be created by making a new ChunkedArchive and serializing/writing it. An archive’s header can be verified and seek table decoded using decode_archive.

Structs§

  • Validated chunk information from an archive. Compressed ranges are relative to the start of compressed data (i.e. they start after the header and seek table).
  • In-memory representation of a compressed chunked archive.
  • Streaming decompressor for chunked archives. Example:
  • In-memory representation of a compressed chunk.

Enums§

Functions§

  • Decode a chunked archive header. Returns validated seek table and start of chunk data. Ranges in resulting chunks are relative to start of returned slice. Returns Ok(None) if data is not large enough to decode the archive header & seek table.