Function extra::cryptoutil::add_bytes_to_bits_tuple

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

Adds the specified number of bytes to the bit count, which is a tuple where the first element is the high order value. fail!() if this would cause numeric overflow.