[−][src]Function git_packetline::decode::hex_prefix
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.