Function cuid_util::to_base_36

source ·
pub fn to_base_36<N: Into<u128>>(number: N) -> String
Expand description

Converts any number representable as a u128 into a base36 String.

Benchmarking has shown this function to be faster than anything I’ve been able to find in a library.