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