skippable-frame · shipping · also Zstandard skippable frame, LZ4 skippable frame, Skippable frame (Zstandard)

Skippable frame

A skippable frame is a compatible LZ4/Zstandard envelope for length-delimited user data that ordinary decompression skips.

A four-byte magic (0x184D2A50-0x184D2A5F) and four-byte little-endian length precede up to 2^32 - 1 user-data bytes. Length excludes the header. Ordinary LZ4 and Zstandard data frames are not interchangeable. [1] [5]

Application-specific readers may interpret this metadata even though the codec does not return it as decoded payload. [1]

In Hesela's synthetic CLI experiment, changing a skippable generation label preserved the decoded bytes and their SHA-256. The whole stored-stream hash changed. This demonstrates a verification-scope gap, not a hash collision or a codec defect. [2]

In liblz4 1.9.4, LZ4F_headerSize reports eight bytes, while fresh-context LZ4F_getFrameInfo consumes only the four-byte magic and reports frameType as skippable. Resume from its returned consumed-byte count so the decoder still reads the length. The immediately returned contentSize is not the metadata length. [6] [7]

Skipping does not authenticate metadata or bind it to recovered data; applications need trusted expectations. [1] [5]

The seekable extension stores its index in a final skippable frame. Earlier skippable or empty frames still occupy stored bytes and index entries even when their decoded size is zero. [3]

In Hesela's native v1.5.7 reference-reader controls, changing a zero-output entry checksum survived a whole-output read and an explicit zero-length frame call. An independent physical/index comparison detected it. Ordinary sequential decompression also skipped a changed seek-table checksum. Successful payload recovery is not evidence that every indexed object was validated. [4]

Relations

related
Zstandard, Checksum, Backup manifest, Cryptographic hash function, LZ4 frame

Citations

  1. RFC 8878, section 3.1.2: Skippable Frames (accessed 2026-10-17)
  2. Hesela: Compressed archives, dictionary dependencies and validation coverage (accessed 2026-10-17)
  3. Zstandard seekable format 0.1.0, pinned to v1.5.7 (accessed 2026-10-23)
  4. Hesela: native seekable-decoder observations, source fingerprints and reproduction (accessed 2026-10-23)
  5. LZ4 Frame Format 1.6.4, pinned v1.10.0: Skippable Frames (accessed 2026-10-22)
  6. LZ4 v1.9.4 implementation: headerSize, getFrameInfo and skippable header handling (accessed 2026-10-22)
  7. Hesela: LZ4 header sizing, validation and consumed-input controls (accessed 2026-10-22)
Sources & caveats
  • Format definition from RFC 8878. The original CLI metadata observation did not test seek tables; the separate native seekable study now tests selected in-memory reader boundaries. Neither establishes application-specific metadata authentication. [4]
  • Existing slug and Zstandard alias retained; expanded to LZ4 using the explicit compatibility statement in RFC 8878. Header/cursor observations execute liblz4 1.9.4 only; no maximum-size allocation, metadata authentication or second-version execution was tested.

JSON: /data/terms/skippable-frame.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Skippable frame. Hesela. 2026-10-23. https://hesela.dev/terms/skippable-frame/