docs: def loadtoc(self):
          """Load the table of contents into memory."""
          self.toc = self.TOCTMPLT()
          self.lib.seek(self.pkgstart+self.tocpos)
          tocstr = self.lib.read(self.toclen)
          self.toc.frombinary(tocstr)