[][src]Function ais::messages::message_type

pub fn message_type(data: &[u8]) -> IResult<&[u8], u8>

Gets the message type from the first byte of supplied data