protected static function convertToString(array $byteArray)
    {
        // Convert the bytes to a string
        $string = '';
        foreach ($byteArray as $byte)
        {
            $string .= chr($byte);
        }

        return $string;
    }
protected static function convertToString(array $byteArray)
    {
        // Convert the bytes to a string
        $string = '';
        foreach ($byteArray as $byte)
        {
            $string .= chr($byte);
        }

        return $string;
    }
protected static function convertToString ( array $ byteArray ) { // Convert the bytes to a string $ string = '' ; foreach ( $ byteArray as $ byte ) { $ string .= chr ( $ byte ) ; } return $ string ; }
Converts the supplied byte array to a string.

@param array $byteArray The byte array.
@return string The string.
Converts the supplied byte array to a string .