YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.network.rcon.RConUtils Class Reference

Static Public Member Functions

static String getBytesAsString (byte[] par0ArrayOfByte, int par1, int par2)
 
static int getRemainingBytesAsLEInt (byte[] par0ArrayOfByte, int par1)
 
static int getBytesAsLEInt (byte[] par0ArrayOfByte, int par1, int par2)
 
static int getBytesAsBEint (byte[] par0ArrayOfByte, int par1, int par2)
 
static String getByteAsHexString (byte par0)
 

Static Public Attributes

static char[] hexDigits = new char[] {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'}
 

Member Function Documentation

static String net.minecraft.network.rcon.RConUtils.getByteAsHexString ( byte  par0)
static

Returns a String representation of the byte in hexadecimal format

static int net.minecraft.network.rcon.RConUtils.getBytesAsBEint ( byte[]  par0ArrayOfByte,
int  par1,
int  par2 
)
static

Read 4 bytes from the given array in big-endian format and return them as an int

static int net.minecraft.network.rcon.RConUtils.getBytesAsLEInt ( byte[]  par0ArrayOfByte,
int  par1,
int  par2 
)
static

Read 4 bytes from the given array in little-endian format and return them as an int

static String net.minecraft.network.rcon.RConUtils.getBytesAsString ( byte[]  par0ArrayOfByte,
int  par1,
int  par2 
)
static

Read a null-terminated string from the given byte array

static int net.minecraft.network.rcon.RConUtils.getRemainingBytesAsLEInt ( byte[]  par0ArrayOfByte,
int  par1 
)
static

Read 4 bytes from the

Member Data Documentation

char [] net.minecraft.network.rcon.RConUtils.hexDigits = new char[] {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'}
static

Translation array of decimal to hex digits


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