decode_compact_width_be

Function decode_compact_width_be 

Source
pub async fn decode_compact_width_be<Producer: BulkProducer<Item = u8>>(
    compact_width: CompactWidth,
    producer: &mut Producer,
) -> Result<u64, DecodeError<Producer::Error>>
Expand description

Decode the bytes representing a CompactWidth-bytes integer into a usize.