RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
com.osroyale.fs.cache.archive.ArchiveSector Class Reference

Public Member Functions

ByteBuffer getData ()
int getHash ()

Protected Member Functions

 ArchiveSector (ByteBuffer data, int hash)

Detailed Description

Represents a sector within an Archive.

A archive sector contains a hashed name and compressed data, this data represents files and information within the FileSystem.

Author
Ryley Kimmel ryley.nosp@m..kim.nosp@m.mel@l.nosp@m.ive..nosp@m.com

Definition at line 42 of file ArchiveSector.java.

Constructor & Destructor Documentation

◆ ArchiveSector()

com.osroyale.fs.cache.archive.ArchiveSector.ArchiveSector ( ByteBuffer data,
int hash )
inlineprotected

Constructs a new ArchiveSector with the specified data and hashed name.

Parameters
dataThe data within this sector.
hashThe hashed name of this sector.

Definition at line 57 of file ArchiveSector.java.

Member Function Documentation

◆ getData()

ByteBuffer com.osroyale.fs.cache.archive.ArchiveSector.getData ( )
inline

Returns the data within this sector.

Definition at line 63 of file ArchiveSector.java.

◆ getHash()

int com.osroyale.fs.cache.archive.ArchiveSector.getHash ( )
inline

Returns the hashed name of this sector.

Definition at line 68 of file ArchiveSector.java.


The documentation for this class was generated from the following file: