pub fn dlt_zero_terminated_string(
    s: &[u8],
    size: usize
) -> IResult<&[u8], &str, DltParseError>
Expand description

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.