pub fn write_u64_leb128(out: &mut [u8; 10], value: u64) -> usize