protected function readString()
    {
        $size = $this->readInt();
        if ($size === -1) {
            return null;
        }
        if ($size === 0) {
            return '';
        }
        return $this->readRaw($size);
    }