parse_header

Function parse_header 

Source
pub fn parse_header(data: &[u8]) -> Option<(RpcMessageTypes, u32)>
Expand description

Decode bytes into RpcMessageHeader to get message type and message number which are two number that compose the message_identifier in the RpcMessageHeader struct