code: def chunks(self, include_inactive=False):
          
          if include_inactive:
              chunk_count = sys.maxsize
          else:
              chunk_count = self.chunk_count()
  
          i = 0
          ofs = self._offset + self.header_chunk_size()
          while ofs + 0x10000 <= len(self._buf) and i < chunk_count:
              yield ChunkHeader(self._buf, ofs)
              ofs += 0x10000
              i += 1
docs: @return A generator that yields the chunks of the log file
            starting with the first chunk, which is always found directly
            after the FileHeader.
  
          If `include_inactive` is set to true, enumerate chunks beyond those
          declared in the file header (and may therefore be corrupt).