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