public final class Ssh2MpInt extends Object implements Serializable, Comparable<Ssh2MpInt>
Constructor and Description |
---|
Ssh2MpInt(byte[] rawData) |
Ssh2MpInt(long value) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Ssh2MpInt o) |
boolean |
equals(Object obj) |
int |
getLength() |
byte[] |
getRawData() |
byte[] |
getValue() |
BigInteger |
getValueAsBigInteger() |
int |
hashCode() |
int |
length() |
String |
toString() |
public Ssh2MpInt(byte[] rawData) throws IllegalRawDataException
rawData
- IllegalRawDataException
NullPointerException
- if the rawData argument is null.IllegalArgumentException
- if the rawData argument is empty.public Ssh2MpInt(long value)
value
- public int getLength()
public byte[] getValue()
public BigInteger getValueAsBigInteger()
public int length()
public byte[] getRawData()
public int compareTo(Ssh2MpInt o)
compareTo
in interface Comparable<Ssh2MpInt>
Copyright © 2014. All Rights Reserved.