1package com.runehive.fs.cache;
3import com.runehive.fs.util.ByteBufferUtil;
5import java.nio.ByteBuffer;
int getLength()
Returns the length of this index.
boolean check()
Tests whether or not this index is valid.
final int id
The id of the index.
final int length
The length of the index.
int getId()
Returns the id of this index.
static Index decode(ByteBuffer buffer)
Decodes an Index from the specified ByteBuffer.
Index(int length, int id)
Constructs a new Index with the expected length and id.
A static-utility class containing extension or helper methods for ByteBuffers.
static int getMedium(ByteBuffer buffer)
Gets a 24-bit medium integer from the specified ByteBuffer, this method does not mark the ByteBuffers...