[−][src]Function terminus_store::structure::vbyte::encode_vec
pub fn encode_vec(num: u64) -> Vec<u8>
Encodes a u64
with a variable-byte encoding in a Vec
.
The length of the resultant Vec
is the encoding length of num
.