Closed mortoray closed 3 years ago
I'm unclear on what the radix is used for, since bin2hex is hard-coded to use 16 as the radix. How can I get output that is base 36 encoded?
radix
bin2hex
I tried playing around with various parts of the code, changing 16 -> radix, but not having much luck.
I don't think radix is exposed anywhere as a configurable value so it should be thought of as a constant. Other output/input formats, other than what is documented, are not supported at this time.
Cheers.
I'm unclear on what the
radix
is used for, sincebin2hex
is hard-coded to use 16 as the radix. How can I get output that is base 36 encoded?I tried playing around with various parts of the code, changing 16 -> radix, but not having much luck.