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