added functions to convert any byte slice to a string with a given base (and character set)