Skip to main content

decode_one

Function decode_one 

Source
pub fn decode_one<Iter>(
    iter: Iter,
    context: &mut DecoderContext,
) -> Option<Result<DecodedItem, LengthError>>
where Iter: Iterator<Item = u8>,
Expand description

Decode one item from its encoded bytes.

This will consume one or more bytes from the input iterator.