pub(crate) fn ntz(n: usize) -> usize
Counts the number of non-trailing zeros in the binary representation.
Defined in https://www.rfc-editor.org/rfc/rfc7253.html#section-2