calc_num_partials

Function calc_num_partials 

Source
pub fn calc_num_partials(size: u64) -> u64
Expand description

Returns the number of partial tree hashes needed for a given size. This is the bit-length of size (i.e. floor(log2(size)) + 1).