public final class Ssh2MpInt extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<Ssh2MpInt>
| Constructor and Description |
|---|
Ssh2MpInt(byte[] rawData,
int offset,
int length)
Constructor.
|
Ssh2MpInt(long value) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Ssh2MpInt o) |
boolean |
equals(java.lang.Object obj) |
int |
getLength() |
byte[] |
getRawData() |
byte[] |
getValue() |
java.math.BigInteger |
getValueAsBigInteger() |
int |
hashCode() |
int |
length() |
java.lang.String |
toString() |
public Ssh2MpInt(byte[] rawData,
int offset,
int length)
throws IllegalRawDataException
ByteArrays.validateBounds(byte[], int, int),
which may throw exceptions undocumented here.rawData - rawDataoffset - offsetlength - lengthIllegalRawDataException - if parsing the raw data fails.public Ssh2MpInt(long value)
value - valuepublic int getLength()
public byte[] getValue()
public java.math.BigInteger getValueAsBigInteger()
public int length()
public byte[] getRawData()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2011 - 2018 Pcap4J.org. All rights reserved.