poka.sh

Docs

SNAPPY

Generated by scripts/gen-format-pages.py from docs/data/format-metadata/, FILE_FORMATS.csv and docs/formats-master.csv. Do not edit by hand: change the source, then run the script.

Snappy Frames Preview.

At a glance

Purpose A Snappy-compressed file in the framing format: chunks of Snappy-compressed or stored data with CRC-32C checksums.
Extensions .snappy
Poka parser poka-snappy
Viewer poka-metadata-card-viewer
Depth tier Metadata card (see Depth tiers)
Breadth tier B4 Summary (see Breadth tiers)

How much Poka reads

B4 Summary. The container and metadata are read and summarised (counts, properties, structure), but the main content is not rendered.

Confidence: medium (the reviewer read the code). Basis: Reviewed 2026-10-26: read parsers/poka-snappy/src/main.rs (219 lines) and plugin.json. No unit tests or tests/samples.rs; the corpus has no .snappy and .sz sample. Covers .snappy and .sz. The card checks the stream identifier and walks every chunk, counting compressed, uncompressed, padding and reserved chunks and totalling body and uncompressed bytes (from each compressed chunk's length varint). Judgement: B4: the stream's structure is walked and summarised, but nothing is decompressed.

What Poka does not read

  • The data is not decompressed, so the content is not shown
  • CRC-32C checksums are not verified
  • Raw (unframed) Snappy data, also saved as .snappy, is refused
  • Files over 4 GiB are cut (flagged)

Libraries

Libraries Poka uses or has assessed for this format, with the status, licence and language the registry records.

  • snap (candidate; BSD-3-Clause; Rust; https://github.com/BurntSushi/rust-snappy) — Pure Rust Snappy; includes streaming FrameDecoder for the Snappy frame format.
  • omnizip-snappy (candidate; MIT OR Apache-2.0; Rust; https://github.com/omnizip/omnizip-rs) — Pure-Rust Snappy codec — from-spec implementation behind the omnizip Codec trait; v0.21.117, updated 2026-09-24; matched on lib.rs, not tested

Sources

  • parsers/poka-snappy/src/main.rs
  • parsers/poka-snappy/plugin.json