An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a native pointer. The native pointer could be any
type of native pointer. Methods such as
write
,
read
,
getXXX
, and
setXXX
, provide means to access memory underlying the native pointer.
While a constructor exists to create a Pointer from an integer value, it's not generally a good idea to be creating pointers that way.
@author Sheng Liang, originator
@author Todd Fast, suitability modifications
@author Timothy Wall, robust library loading
@see Function