src/HSPHP/ReadSocket.php
protected function decodeString($encoded)
    {
        if ($encoded === self::NULL) {
            return NULL;
        } else {
            return strtr($encoded, self::$decodeMap);
        }
    }
protected function decodeString($encoded)
    {
        if ($encoded === self::NULL) {
            return NULL;
        } else {
            return strtr($encoded, self::$decodeMap);
        }
    }
Decode string from server

@param string $encoded
@return string