Function nmea::parse_bytes
source · pub fn parse_bytes(sentence_input: &[u8]) -> Result<ParseResult, Error<'_>>
Expand description
Parse a NMEA 0183 sentence from bytes and extract data from it.
Errors
Apart from errors returned by the message parsing itself, it will return
Error::Utf8Decoding
when the bytes are not a valid UTF-8 string.