Class PacketDecoder
java.lang.Object
org.apache.drill.exec.store.pcap.decoder.PacketDecoder
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
decodePacket
(byte[] buffer, int offset, Packet p, int maxPacket, int validBytes) final int
int
boolean
packet()
-
Constructor Details
-
PacketDecoder
- Throws:
IOException
-
-
Method Details
-
getMaxLength
public final int getMaxLength() -
decodePacket
-
packet
-
getNetwork
public int getNetwork() -
isBigEndian
public boolean isBigEndian() -
getFileFormat
-
nextPacket
- Throws:
IOException
-