public class NativeInt8 extends NativeInteger
LibraryManager.TYPE_SIGNED_INT8 if the value is negative and otherwise it will
report as LibraryManager.TYPE_UNSIGNED_INT8.valuecopyIn, copyOut, passByPointer, ptr, ref, type| Constructor and Description |
|---|
NativeInt8()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
readNative(memptr ptr)
Worker method to read the primitive value from the first index position of the given
memory buffer.
|
void |
setValue(long value)
Assign the data element.
|
int |
size()
Report the size (in bytes) of the native memory needed to store this instance.
|
protected void |
writeNative(memptr ptr)
Worker method to write the primitive value to the first index position of the given
memory buffer.
|
getValue, isInArray, readExternal, setInArray, writeExternal, writeNativeWordSizerender, restoreisCopyIn, isCopyOut, isPassByPointer, render, restore, setCopyIn, setCopyOut, setPassByPointer, setType, typepublic void setValue(long value)
setValue in class NativeIntegervalue - The new integer data element.public int size()
This should never be called on the server, only on the client side.
size in class BaseNativeTypeprotected void readNative(memptr ptr)
readNative in class NativePrimitiveptr - The memory buffer to reference.protected void writeNative(memptr ptr)
writeNative in class NativePrimitiveptr - The memory buffer to reference.