Function pack_size

Source
pub fn pack_size(n: u64) -> u8
Expand description

pack_size returns the smallest number of bytes that can encode n.