Interface DfsPackFile.IndexFactory.PackIndexes

All Known Implementing Classes:
DfsPackFile.CachedStreamPackIndexes
Enclosing interface:
DfsPackFile.IndexFactory

public static interface DfsPackFile.IndexFactory.PackIndexes
Take care of loading the primary and reverse indexes for this pack.
  • Method Details

    • index

      PackIndex index(DfsReader ctx) throws IOException
      Load the primary index for the pack.
      Parameters:
      ctx - reader to find the raw bytes
      Returns:
      a primary index
      Throws:
      IOException - a problem finding/parsing the index
    • reverseIndex

      PackReverseIndex reverseIndex(DfsReader ctx) throws IOException
      Load the reverse index of the pack
      Parameters:
      ctx - reader to find the raw bytes
      Returns:
      the reverse index of the pack
      Throws:
      IOException - a problem finding/parsing the reverse index