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

Public Member Functions

int getId ()
int getLength ()
boolean check ()

Static Public Member Functions

static Index decode (ByteBuffer buffer)

Detailed Description

Represents an index within some Cache.

Author
Ryley Kimmel ryley.nosp@m..kim.nosp@m.mel@l.nosp@m.ive..nosp@m.com
Artem Batutin artem.nosp@m.batu.nosp@m.tin@g.nosp@m.mail.nosp@m..com

Definition at line 44 of file Index.java.

Member Function Documentation

◆ check()

boolean com.osroyale.fs.cache.Index.check ( )
inline

Tests whether or not this index is valid.

Definition at line 88 of file Index.java.

◆ decode()

Index com.osroyale.fs.cache.Index.decode ( ByteBuffer buffer)
inlinestatic

Decodes an Index from the specified ByteBuffer.

Parameters
bufferThe ByteBuffer to get the index from.
Returns
The decoded index.

Definition at line 71 of file Index.java.

◆ getId()

int com.osroyale.fs.cache.Index.getId ( )
inline

Returns the id of this index.

Definition at line 78 of file Index.java.

◆ getLength()

int com.osroyale.fs.cache.Index.getLength ( )
inline

Returns the length of this index.

Definition at line 83 of file Index.java.


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