gix_packetline_blocking::decode

Function hex_prefix

Source
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.