Package net.minecraft.server.rcon
Class PktUtils
java.lang.Object
net.minecraft.server.rcon.PktUtils
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
intFromByteArray(byte[] p_11486_, int p_11487_)
static int
intFromByteArray(byte[] p_11493_, int p_11494_, int p_11495_)
static int
intFromNetworkByteArray(byte[] p_11497_, int p_11498_, int p_11499_)
static String
stringFromByteArray(byte[] p_11489_, int p_11490_, int p_11491_)
static String
toHexString(byte p_11484_)
-
Field Details
-
MAX_PACKET_SIZE
public static final int MAX_PACKET_SIZE- See Also:
- Constant Field Values
-
HEX_CHAR
public static final char[] HEX_CHAR
-
-
Constructor Details
-
PktUtils
public PktUtils()
-
-
Method Details
-
stringFromByteArray
-
intFromByteArray
public static int intFromByteArray(byte[] p_11486_, int p_11487_) -
intFromByteArray
public static int intFromByteArray(byte[] p_11493_, int p_11494_, int p_11495_) -
intFromNetworkByteArray
public static int intFromNetworkByteArray(byte[] p_11497_, int p_11498_, int p_11499_) -
toHexString
-