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.
pub fn capsule_span(bytes: &[u8]) -> Result<usize, CapsuleError>Byte length of the first well-formed capsule (type + length + value). Classifies nothing; unknown types still have a span for a counted skip.