proc encode[T: SomeInteger](__520093702: typedesc[T]; number: T;
length: int = -1): string
Encodes an integer as a crockford base32 string, appending 0s for padding (this does nothing to the encoded data, so it may exceed the given length).
Source
Edit