protected function b64dec($str)
    {
        $bytes = unpack('C*', base64_decode($str));
        $n = 0;
        foreach($bytes as $byte) {
            $n = $this->add($this->mul($n, 256), $byte);
        }
        
        return $n;
    }
protected function b64dec($str)
    {
        $bytes = unpack('C*', base64_decode($str));
        $n = 0;
        foreach($bytes as $byte) {
            $n = $this->add($this->mul($n, 256), $byte);
        }
        
        return $n;
    }
protected function b64dec ( $ str ) { $ bytes = unpack ( 'C*' , base64_decode ( $ str ) ) ; $ n = 0 ; foreach ( $ bytes as $ byte ) { $ n = $ this -> add ( $ this -> mul ( $ n , 256 ) , $ byte ) ; } return $ n ; }
Converts base64 encoded number to it's decimal representation.
@param String $str base64 encoded number.
@return String Decimal representation of that number.
Converts base64 encoded number to it s decimal representation .