Function read

Source
pub fn read<T: TryFrom<u64>>(buf: &mut impl Buf) -> Result<T, Error>
Expand description

Decodes a unsigned 64-bit integer from a varint