pub fn read_varint8(buf: &[u8]) -> Result<(u64, usize), ()>
read varint8 from buffer, returning (value, size)