Skip to main content

parse

Function parse 

Source
pub fn parse<S: Source>(r: &mut S) -> Result<Vec<u8>, BitError>
Expand description

Reads bytes until a 0x00 terminator (consumed, excluded from the value). Permissive: any byte sequence is accepted.

ยงErrors

UnexpectedEof when the input ends before a terminator.