Skip to main content

capsule_span

Function capsule_span 

Source
pub fn capsule_span(bytes: &[u8]) -> Result<usize, CapsuleError>
Expand description

Byte length of the first well-formed capsule (type + length + value). Classifies nothing; unknown types still have a span for a counted skip.