protected function readLong()
{
return ord($this->rawData[$this->currentByte++]) << 24 | ord($this->rawData[$this->currentByte++]) << 16 | ord($this->rawData[$this->currentByte++]) << 8 | ord($this->rawData[$this->currentByte++]);
// read the next 4 bytes, shift and add
}