trinoise

Function next

Source
pub fn next(v: u64, base: u8) -> u8
Expand description

Returns the number of successors that share number of aligned positions.

This is always a number 0, base - 2 or base - 1.

This number can also be used to increase the counter, hence the name next, even if the returned value is strictly an offset.