Function extra::cryptoutil::add_bytes_to_bits

pub fn add_bytes_to_bits<T: std::num::Int + std::num::CheckedAdd + ToBits>(bits: T, bytes: T) -> T

Adds the specified number of bytes to the bit count. fail!() if this would cause numeric overflow.