|
RuneHive-Game
|
Represents a sector within an Archive.
More...
Public Member Functions | |
| ByteBuffer | getData () |
| Returns the data within this sector. | |
| int | getHash () |
| Returns the hashed name of this sector. | |
Protected Member Functions | |
| ArchiveSector (ByteBuffer data, int hash) | |
Constructs a new ArchiveSector with the specified data and hashed name. | |
Private Attributes | |
| final ByteBuffer | data |
| The data within this sector. | |
| final int | hash |
| The hashed name of this sector. | |
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.
Definition at line 14 of file ArchiveSector.java.
|
protected |
Constructs a new ArchiveSector with the specified data and hashed name.
| data | The data within this sector. |
| hash | The hashed name of this sector. |
Definition at line 29 of file ArchiveSector.java.
| ByteBuffer com.runehive.fs.cache.archive.ArchiveSector.getData | ( | ) |
Returns the data within this sector.
Definition at line 35 of file ArchiveSector.java.
References data.
Referenced by com.runehive.fs.cache.archive.Archive.getData().
| int com.runehive.fs.cache.archive.ArchiveSector.getHash | ( | ) |
Returns the hashed name of this sector.
Definition at line 40 of file ArchiveSector.java.
References hash.
|
private |
The data within this sector.
Definition at line 17 of file ArchiveSector.java.
Referenced by ArchiveSector(), and getData().
|
private |
The hashed name of this sector.
Definition at line 20 of file ArchiveSector.java.
Referenced by ArchiveSector(), and getHash().