메소드 | 설명 | |
---|---|---|
DecodeInt ( byte bytes ) : int |
Converts a byte array with length 4 to an int.
|
|
DecodePacketInt ( |
Decodes a packet that should contain an int.
|
|
DecodePacketString ( |
Decodes a packet to a string.
|
public static DecodeInt ( byte bytes ) : int | ||
bytes | byte | The bytes to convert. |
리턴 | int |
public static DecodePacketInt ( |
||
p | The packet | |
index | int | The byte index to start searching for the int |
리턴 | int |
public static DecodePacketString ( |
||
p | The packet to decode. | |
index | int | |
리턴 | String |