pub fn decode_u64(buf: &mut ReadBuf<'_>) -> Result<u64>Expand description
Decode a u64 varint from buf.
ยงErrors
Error::UnexpectedEofifbufis exhausted before the terminator byte.Error::VarintOverflowif more thanMAX_LEN_U64bytes are consumed or the final byte carries bits that would overflowu64.