protected function mapByte($data, $index)
    {
        $byte = ord($data[$index]);
        if ($byte > 49) {
            if ($byte < 56) {
                return $byte - 24;
            }
            if ($byte > 64 && $byte < 91) {
                return $byte - 65;
            }
        }

        throw new InvalidEncodedDataException($this->key(), $data);
    }
protected function mapByte($data, $index)
    {
        $byte = ord($data[$index]);
        if ($byte > 49) {
            if ($byte < 56) {
                return $byte - 24;
            }
            if ($byte > 64 && $byte < 91) {
                return $byte - 65;
            }
        }

        throw new InvalidEncodedDataException($this->key(), $data);
    }
protected function mapByte ( $ data , $ index ) { $ byte = ord ( $ data [ $ index ] ) ; if ( $ byte > 49 ) { if ( $ byte < 56 ) { return $ byte - 24 ; } if ( $ byte > 64 && $ byte < 91 ) { return $ byte - 65 ; } } throw new InvalidEncodedDataException ( $ this -> key ( ) , $ data ) ; }
Map a byte to its relevant alphabet entry.

@param string  $data  The data to be decoded.
@param integer $index The index into the data at which the relevant byte is located.

@return integer                    The relevant alphabet entry.
@throws EncodingExceptionInterface If there is no relevant alphabet entry.
Map a byte to its relevant alphabet entry .