|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.minecraft.network.rcon.RConUtils
public class RConUtils
| Field Summary | |
|---|---|
static char[] |
hexDigits
Translation array of decimal to hex digits |
| Constructor Summary | |
|---|---|
RConUtils()
|
|
| Method Summary | |
|---|---|
static String |
getByteAsHexString(byte par0)
Returns a String representation of the byte in hexadecimal format |
static int |
getBytesAsBEint(byte[] par0ArrayOfByte,
int par1,
int par2)
Read 4 bytes from the given array in big-endian format and return them as an int |
static int |
getBytesAsLEInt(byte[] par0ArrayOfByte,
int par1,
int par2)
Read 4 bytes from the given array in little-endian format and return them as an int |
static String |
getBytesAsString(byte[] par0ArrayOfByte,
int par1,
int par2)
Read a null-terminated string from the given byte array |
static int |
getRemainingBytesAsLEInt(byte[] par0ArrayOfByte,
int par1)
Read 4 bytes from the |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static char[] hexDigits
| Constructor Detail |
|---|
public RConUtils()
| Method Detail |
|---|
public static String getBytesAsString(byte[] par0ArrayOfByte,
int par1,
int par2)
public static int getRemainingBytesAsLEInt(byte[] par0ArrayOfByte,
int par1)
public static int getBytesAsLEInt(byte[] par0ArrayOfByte,
int par1,
int par2)
public static int getBytesAsBEint(byte[] par0ArrayOfByte,
int par1,
int par2)
public static String getByteAsHexString(byte par0)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||