snarkvm_utilities::serialize

Function number_of_bits_to_number_of_bytes

Source
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.