public class PacketDecoder extends Object
| Constructor and Description |
|---|
PacketDecoder(InputStream input) |
| Modifier and Type | Method and Description |
|---|---|
int |
decodePacket(byte[] buffer,
int offset,
Packet p) |
int |
getNetwork() |
boolean |
isBigEndian() |
Packet |
nextPacket() |
Packet |
packet() |
public PacketDecoder(InputStream input) throws IOException
IOExceptionpublic int decodePacket(byte[] buffer,
int offset,
Packet p)
public Packet packet()
public int getNetwork()
public boolean isBigEndian()
public Packet nextPacket() throws IOException
IOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.