pub fn encode_vec(num: u64) -> Vec<u8> ⓘ
Encodes a u64 with a variable-byte encoding in a Vec.
u64
Vec
The length of the resultant Vec is the encoding length of num.
num