protected function addBytes($string)
    {
        if ($string instanceof OrientDBRecord) {
            $string = (string) $string;
        }
        $this->addInt(strlen($string));
        $this->requestBytes .= $string;
    }