kinesin_rdt::frame::encoding

Function write_varint8

Source
pub fn write_varint8(buf: &mut [u8], n: u64) -> Option<usize>
Expand description

write varint8 to buffer, returning how many bytes were used