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§
- Chunk
Info - 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).
- Chunked
Archive - In-memory representation of a compressed chunked archive.
- Chunked
Decompressor - Streaming decompressor for chunked archives. Example:
- Compressed
Chunk - In-memory representation of a compressed chunk.
Enums§
- Chunked
Archive Error - 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).
Functions§
- decode_
archive - 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)
ifdata
is not large enough to decode the archive header & seek table.