Class PacketDecoder

java.lang.Object
org.apache.drill.exec.store.pcap.decoder.PacketDecoder

public class PacketDecoder extends Object
  • Constructor Details

  • Method Details

    • getMaxLength

      public final int getMaxLength()
    • decodePacket

      public int decodePacket(byte[] buffer, int offset, Packet p, int maxPacket, int validBytes)
    • packet

      public Packet packet()
    • getNetwork

      public int getNetwork()
    • isBigEndian

      public boolean isBigEndian()
    • getFileFormat

      public PacketDecoder.FileFormat getFileFormat()
    • nextPacket

      public Packet nextPacket() throws IOException
      Throws:
      IOException