netlink_packet_utils::parsers

Function parse_u16

Source
pub fn parse_u16(payload: &[u8]) -> Result<u16, DecodeError>