パッケージ org.pcap4j.packet

インタフェース Packet.Header

    • メソッドの詳細

      • length

        int length()
        Returns the header length in bytes.
        戻り値:
        the length of the byte stream of the header represented by this object in bytes
      • getRawData

        byte[] getRawData()
        Returns the raw data of this packet's header.
        戻り値:
        the raw data of this packet's header, namely a piece of the byte stream which is actually sent through real network