Not a typical char by char conversion.
Uses a modified base64 algorithm to encode ascii to and from various numerical bases.
Base58 encoding output/input is not compatible with base58check.
Algorithm can easily be adapted for binary input/output.