Skip to main content

i64_to_be_bytes_len

Function i64_to_be_bytes_len 

Source
pub exec fn i64_to_be_bytes_len(v: i64) -> len : usize
Expand description
requires
usize::BITS == 64,
ensures
len == int_to_be_bytes(v as int).len(),
len <= size_of::<i64>() + 1,

Allocation-free length of the minimal big-endian two’s-complement encoding.