/** * @return int * @throws UnexpectedValueException */ private function readCount() { return $this->reader->readLong(); }