Function parse_chunk_size

Source
pub fn parse_chunk_size(buf: &[u8]) -> Result<Status<(usize, u64)>, Error>
Expand description

Parse a buffer of bytes as a chunk size.

The return value, if complete and successful, includes the index of the buffer that parsing stopped at, and the size of the following chunk.