private mapCharset ( string $str ) : string | ||
$str | string | The string of 0's and 1's you want to convert |
return | string | Resulting base32 character |
private function mapCharset($str)
{
// Huh!
$x = self::CSRFC3548;
return $x[bindec($str)];
}