Skip to main content

MODERN_FRAME_MAGIC

Constant MODERN_FRAME_MAGIC 

Source
const MODERN_FRAME_MAGIC: &[u8];
Expand description

The magic number every modern zstd frame starts with, little-endian.

This build of zstd also decodes legacy frames, and their decompressor buffers by the window the frame declares before any window cap applies (a 13-byte legacy frame can ask for megabytes). The writer emits modern frames only, so anything else is malformed input rather than a compatibility requirement, and it is refused before it reaches the decoder.