Function decode_length_from_slice
pub fn decode_length_from_slice(data: &[u8]) -> Option<(u32, usize)>Available on crate feature
fastcgi only.Expand description
Decode a variable-length integer from a byte slice, returning the value and the number of bytes consumed.
Reference: FastCGI Specification §3.4