public class UInt8Data extends Data implements IntegerData
IntegerData.Endian, IntegerData.Helper| Modifier and Type | Field and Description |
|---|---|
int |
value |
static UInt8Data |
ZERO |
helper| Constructor and Description |
|---|
UInt8Data(byte value) |
UInt8Data(byte[] bytes,
int offset) |
UInt8Data(ByteArray data) |
UInt8Data(int value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
static UInt8Data |
from(byte value) |
static UInt8Data |
from(byte[] bytes) |
static UInt8Data |
from(byte[] bytes,
int offset) |
static UInt8Data |
from(ByteArray data) |
static UInt8Data |
from(int value) |
static UInt8Data |
from(UInt8Data data) |
byte |
getByteValue() |
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, 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 static final UInt8Data ZERO
public UInt8Data(ByteArray data)
public UInt8Data(byte[] bytes,
int offset)
public UInt8Data(byte value)
public UInt8Data(int value)
public int getIntValue()
getIntValue in interface IntegerDatapublic long getLongValue()
getLongValue in interface IntegerDatapublic byte getByteValue()
public static UInt8Data from(byte[] bytes)
public static UInt8Data from(byte[] bytes, int offset)
public static UInt8Data from(byte value)
public static UInt8Data from(int value)