Skip to main content

message_number

Function message_number 

Source
pub fn message_number(body: &[u8]) -> Result<u16>
Expand description

Read the 12-bit RTCM message number from the start of a message body.

Returns [Error::Parse] if the body is shorter than 12 bits.