INativeObjectpublic class NativeByte extends NativeNumber
| Modifier and Type | Field | Description |
|---|---|---|
static NativeByteType |
META |
The meta class instance
|
DEBUG, handle, SHIFT_INT, SHIFT_LONG, SHIFT_LONGLONG, SIZE_BYTE, SIZE_INT, SIZE_LONG, SIZE_LONGLONG, SIZE_PTR, SIZE_SHORT| Modifier | Constructor | Description |
|---|---|---|
|
NativeByte() |
Create a new wrapper
|
|
NativeByte(byte value) |
Create a new wrapper
|
protected |
NativeByte(INativeHandle handle) |
| Modifier and Type | Method | Description |
|---|---|---|
byte |
byteValue() |
This as a java primitive byte value.
|
static NativeByte |
createFromAddress(long address) |
|
INativeType |
getNativeType() |
The meta information and behavior for the NativeObject.
|
java.lang.Object |
getValue() |
A Java side representation from the memory.
|
int |
intValue() |
This as a java primitive int value.
|
long |
longValue() |
This as a java primitive long value.
|
void |
setValue(byte value) |
|
void |
setValue(java.lang.Object value) |
Assign (and marshall to memory) the Java side representation.
|
short |
shortValue() |
This as a java primitive short value.
|
java.lang.String |
toString() |
allocate, cast, createReference, getByte, getByteArray, getBytes, getCLong, getInt, getNativeHandle, getNativeHandle, getShort, getString, getWideString, isNull, setByte, setByteArray, setCLong, setInt, setNativeHandle, setShort, setString, setWideString, toNestedStringgetByteCountpublic static final NativeByteType META
public NativeByte()
public NativeByte(byte value)
protected NativeByte(INativeHandle handle)
public static NativeByte createFromAddress(long address)
public byte byteValue()
NativeNumberbyteValue in class NativeNumberpublic INativeType getNativeType()
NativeObjectThere is exactly one meta instance for all NativeObject instances of a certain type.
getNativeType in interface INativeObjectgetNativeType in class NativeObjectpublic java.lang.Object getValue()
INativeObjectINativeObject.public int intValue()
NativeNumberintValue in class NativeNumberpublic long longValue()
NativeNumberlongValue in class NativeNumberpublic void setValue(byte value)
public void setValue(java.lang.Object value)
INativeObjectvalue - The new Java value.public short shortValue()
NativeNumbershortValue in class NativeNumberpublic java.lang.String toString()
toString in class java.lang.Object