Skip to main content

encode_frame

Function encode_frame 

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

Wrap a message body in an RTCM 3 transport frame with a fresh CRC-24Q.

Returns Error::InvalidInput if the body exceeds MAX_BODY_LEN.