Skip to main content

to_digits

Function to_digits 

Source
pub fn to_digits(u: u64, r: u32) -> Vec<u8> ⓘ
Expand description

u in radix r (2…36): its digits, most significant first, without leading zeros (0 is one digit). Each digit is below r and they are worth exactly u.