private function unpackUint8() { if (!isset($this->buffer[$this->offset])) { throw new InsufficientDataException(1, \strlen($this->buffer) - $this->offset); } $num = $this->buffer[$this->offset]; ++$this->offset; return \ord($num); }