Class RadiotapDataPad

    • Method Summary

      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      RadiotapDataPad.Builder getBuilder()  
      byte[] getRawData()  
      int hashCode()  
      int length()  
      static RadiotapDataPad newInstance​(byte[] pad, int offset, int length)
      A static factory method.
      java.lang.String toString()  
      java.lang.String toString​(java.lang.String indent)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • newInstance

        public static RadiotapDataPad newInstance​(byte[] pad,
                                                  int offset,
                                                  int length)
        A static factory method. This method validates the arguments by ByteArrays.validateBounds(byte[], int, int), which may throw exceptions undocumented here.
        Parameters:
        pad - pad
        offset - offset
        length - length
        Returns:
        a new RadiotapDataPad object.
      • getBuilder

        public RadiotapDataPad.Builder getBuilder()
        Returns:
        a new Builder object populated with this object's fields.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toString

        public java.lang.String toString​(java.lang.String indent)
        Specified by:
        toString in interface RadiotapPacket.RadiotapData
        Parameters:
        indent - indent
        Returns:
        String representation of this object.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object