Function snarkvm_utilities::serialize::number_of_bits_to_number_of_bytes [−][src]
pub const fn number_of_bits_to_number_of_bytes(num_bits: usize) -> usize
Expand description
Return the number of bytes required to represent the given number of bits.