Skip to main content

may_be_length_prefixed_plain

Function may_be_length_prefixed_plain 

Source
fn may_be_length_prefixed_plain(data: &[u8], type_length: usize) -> bool
Expand description

A negative result rules out the supported historical PLAIN layout. A positive result only requests an independent count: even every prefix matching could be an ordinary canonical payload. Bound the probe independently of page size.