base_encode
pub fn to_string(buf: &[u8], base: u8, chars: &[u8]) -> Option<String>
Converts bytes to a base encoded string using the specified character table.