Skip to main content

encoded_label

Function encoded_label 

Source
fn encoded_label(bytes: &[u8]) -> Result<&[u8]>
Expand description

Finds the end of an Option without allocating or reading its payload. Unlike memcomparable’s skip_bytes, all advances are checked for truncated input.