public abstract class ByReference extends PointerType
Derived classes should define setValue(<T>)
and <T> getValue()
methods which write to/read from
memory.
This class derives from PointerType instead of Memory in order to
restrict the API to only getValue/setValue
.
NOTE: this class would ideally be replaced by a generic.
Modifier | Constructor and Description |
---|---|
protected |
ByReference(int dataSize) |
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString