Class Ssh2MpInt

java.lang.Object
org.pcap4j.packet.Ssh2MpInt
All Implemented Interfaces:
Serializable, Comparable<Ssh2MpInt>

public final class Ssh2MpInt extends Object implements Serializable, Comparable<Ssh2MpInt>
Since:
pcap4j 1.0.1
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • length

      private final int length
    • value

      private final byte[] value
  • Constructor Details

  • Method Details

    • getLength

      public int getLength()
      Returns:
      value of the length field
    • getValue

      public byte[] getValue()
      Returns:
      value
    • getValueAsBigInteger

      public BigInteger getValueAsBigInteger()
      Returns:
      value as BigInteger
    • length

      public int length()
      Returns:
      length
    • getRawData

      public byte[] getRawData()
      Returns:
      rawData
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo(Ssh2MpInt o)
      Specified by:
      compareTo in interface Comparable<Ssh2MpInt>