pub(crate) fn read_varint(buf: &[u8]) -> Option<(u64, usize)>
Read a varint from buf returning the decoded u64 and the number of bytes read
buf
u64