public class INT16 extends PtpInteger
Modifier and Type | Field and Description |
---|---|
static INT16 |
MAX_VALUE |
static INT16 |
MIN_VALUE |
static int |
SIZE_IN_BYTES |
static INT16 |
ZERO |
Constructor and Description |
---|
INT16(java.math.BigInteger value) |
INT16(byte[] bytes) |
INT16(long value) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isSigned() |
static INT16 |
read(java.io.InputStream is) |
protected int |
sizeInBytes() |
bigInteger, bytes, compareTo, doubleValue, equals, floatValue, hashCode, intValue, longValue, toString
public static final int SIZE_IN_BYTES
public static final INT16 MIN_VALUE
public static final INT16 MAX_VALUE
public static final INT16 ZERO
public INT16(long value)
public INT16(java.math.BigInteger value)
public INT16(byte[] bytes)
public static INT16 read(java.io.InputStream is) throws java.io.IOException
java.io.IOException
protected int sizeInBytes()
sizeInBytes
in class PtpInteger
protected boolean isSigned()
isSigned
in class PtpInteger