Skip to main content

has_p64_magic

Function has_p64_magic 

Source
pub fn has_p64_magic(data: &[u8]) -> bool
Expand description

Return true only for the canonical four-byte P64 container magic.

Keep format sniffing centralized here. Historical code used .q42 names and, in one WASM path, compared against the non-canonical b"P64" literal.