Function dlt_core::parse::dlt_zero_terminated_string [−][src]
pub fn dlt_zero_terminated_string(
s: &[u8],
size: usize
) -> IResult<&[u8], &str, DltParseError>
Extracts the string in a byte sequence up to the \0
termination character
In various places within the DLT message, there can be strings that are
terminated with a \0
.