|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectudt.packets.PacketUtil
public class PacketUtil
| Constructor Summary | |
|---|---|
PacketUtil()
|
|
| Method Summary | |
|---|---|
static long |
decode(byte[] data,
int start)
|
static long |
decodeAckSeqNr(byte[] data,
int start)
|
static int |
decodeType(byte[] data,
int start)
|
static byte[] |
encode(long value)
|
static byte[] |
encodeHighesBitTypeAndSeqNumber(boolean highestBit,
int type,
long value)
|
static byte[] |
encodeSetHighest(boolean highest,
long value)
|
static byte[] |
encodeSetHighestAndType(boolean highest,
int type,
long value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PacketUtil()
| Method Detail |
|---|
public static byte[] encode(long value)
public static byte[] encodeSetHighest(boolean highest,
long value)
public static byte[] encodeSetHighestAndType(boolean highest,
int type,
long value)
public static byte[] encodeHighesBitTypeAndSeqNumber(boolean highestBit,
int type,
long value)
public static long decode(byte[] data,
int start)
public static int decodeType(byte[] data,
int start)
public static long decodeAckSeqNr(byte[] data,
int start)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||