protected function readString($fileHandle, $length, $offset = null) { if ($offset !== null) { fseek($fileHandle, $offset); } return $this->readBytes($fileHandle, $length); }