Skip to main content

SNIFF_PREFIX_LEN

Constant SNIFF_PREFIX_LEN 

Source
pub const SNIFF_PREFIX_LEN: usize = 16; // 16usize
Expand description

The probe itself, re-exported so znippy_common::precompressed::* keeps naming exactly what it always named. These are ldeflate’s items, not copies of them — breaking one there breaks every znippy caller, which is the point of the move. Bytes of prefix the probe reads. Sized by WebP, whose form type sits at offset 8..12 — the longest anchored pattern here.