Skip to main content

detect_polyglot_base

Function detect_polyglot_base 

Source
pub fn detect_polyglot_base(head: &[u8]) -> Option<u64>
Expand description

If head (the first bytes of a resource whose byte 0 is NOT the RETE magic) carries a POLYGLOT_MARKER, return the byte offset of the embedded .rete.