public class UInt16Data extends Data implements IntegerData
IntegerData.Endian, IntegerData.Helper| Modifier and Type | Field and Description |
|---|---|
IntegerData.Endian |
endian |
int |
value |
static UInt16Data |
ZERO |
helper| Constructor and Description |
|---|
UInt16Data(byte[] bytes,
int offset,
int value,
IntegerData.Endian endian) |
UInt16Data(ByteArray data,
int value,
IntegerData.Endian endian) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
static UInt16Data |
from(byte[] bytes,
IntegerData.Endian endian) |
static UInt16Data |
from(byte[] bytes,
int offset,
IntegerData.Endian endian) |
static UInt16Data |
from(ByteArray data,
IntegerData.Endian endian) |
static UInt16Data |
from(int value,
IntegerData.Endian endian) |
static UInt16Data |
from(UInt16Data data) |
int |
getIntValue() |
long |
getLongValue() |
int |
hashCode() |
java.lang.String |
toString() |
clone, concat, concat, equals, equals, equals, find, find, find, find, find, find, find, find, find, find, find, find, getBuffer, getByte, getBytes, getBytes, getBytes, getOffset, getSize, mutableCopy, random, slice, slice, toHexStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetInt16Value, getInt16Value, getInt32Value, getInt32Value, getUInt16Data, getUInt16Data, getUInt16Data, getUInt16Value, getUInt16Value, getUInt32Data, getUInt32Data, getUInt32Data, getUInt32Value, getUInt32Value, getValue, getValue, getValue, setValue, setValue, setValue, setValueadjust, adjustE, concat, concat, concat, concat, equals, equals, equals, find, find, find, find, find, find, find, find, find, find, find, find, find, find, getBuffer, getByte, getBytes, getBytes, getBytes, getOffset, getSize, hexEncode, slice, slice, slice, slice, toHexStringpublic final int value
public final IntegerData.Endian endian
public static final UInt16Data ZERO
public UInt16Data(ByteArray data, int value, IntegerData.Endian endian)
public UInt16Data(byte[] bytes,
int offset,
int value,
IntegerData.Endian endian)
public int getIntValue()
getIntValue in interface IntegerDatapublic long getLongValue()
getLongValue in interface IntegerDatapublic static UInt16Data from(UInt16Data data)
public static UInt16Data from(ByteArray data, IntegerData.Endian endian)
public static UInt16Data from(byte[] bytes, IntegerData.Endian endian)
public static UInt16Data from(byte[] bytes, int offset, IntegerData.Endian endian)
public static UInt16Data from(int value, IntegerData.Endian endian)