Skip to main content

parse_display_bytes

Function parse_display_bytes 

Source
pub fn parse_display_bytes(
    bytes: &[u8],
    format: &str,
) -> Result<DisplayData, Error>
Expand description

Parse display bytes in the named display format.

§Errors

Error::UnknownFormat if format is not a display format; otherwise the reader’s own Error on malformed input.