Introduction
Snappy is a fast compression method from
Google. Its framing format wraps Snappy data in a stream of chunks, so that a file or
stream can be decompressed without holding all of it in memory. The framing document
recommends the extension .sz.
Structure
0Stream identifierFF 06 00 00thensNaPpY10 bytes10Chunks each a type byte, a 3-byte little-endian length and the data; data chunks carry a masked CRC-32Crepeated
Chunk type 00 is compressed data, 01 uncompressed data and
FE padding; other types are reserved.
Not described
This page is a first outline. The details of the layout are not yet described here.
Known, not yet covered
- Reference: the chunk rules and checksum masking in the framing document, and the Snappy block format inside compressed chunks.
- Viewer: the site has no viewer for this format.
Links
Developers
- Snappy – Google’s compression library (C++)
Reference
- Snappy framing format description – the document in the Snappy repository