Interface Packet.Header

    • Method Summary

      Modifier and Type Method Description
      byte[] getRawData()
      Returns the raw data of this packet's header.
      int length()
      Returns the header length in bytes.
    • Method Detail

      • length

        int length()
        Returns the header length in bytes.
        Returns:
        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.
        Returns:
        the raw data of this packet's header, namely a piece of the byte stream which is actually sent through real network