public final class UINT16 extends PtpInteger
Modifier and Type | Field and Description |
---|---|
static UINT16 |
MAX_VALUE |
static UINT16 |
MIN_VALUE |
static int |
SIZE_IN_BYTES
Size of type in bytes.
|
static UINT16 |
ZERO |
Constructor and Description |
---|
UINT16(java.math.BigInteger value) |
UINT16(byte[] bytes) |
UINT16(long value) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isSigned() |
static UINT16 |
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 UINT16 MIN_VALUE
public static final UINT16 MAX_VALUE
public static final UINT16 ZERO
public UINT16(long value)
public UINT16(java.math.BigInteger value)
public UINT16(byte[] bytes)
public static UINT16 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