public function getPackfileOffsetForSha($sha) { $offset = $this->getSmallPackfileOffsetsStart() + $this->getOffsetForSha($sha) * 4; $this->reader->setOffset($offset); return $this->reader->readUInt32BE(4); }