pub fn varint8_size(n: u64) -> Option<usize>
determine how many bytes are required to encode a varint8