pub fn hex_prefix(
four_bytes: &[u8],
) -> Result<PacketLineOrWantedSize<'_>, Error>
Expand description
Decode the four_bytes
packet line prefix provided in hexadecimal form and check it for validity.
pub fn hex_prefix(
four_bytes: &[u8],
) -> Result<PacketLineOrWantedSize<'_>, Error>
Decode the four_bytes
packet line prefix provided in hexadecimal form and check it for validity.