Package com.kenai.jffi
Class DirectClosureBuffer.NativeWordIO64
- java.lang.Object
-
- com.kenai.jffi.DirectClosureBuffer.NativeWordIO
-
- com.kenai.jffi.DirectClosureBuffer.NativeWordIO64
-
- Enclosing class:
- DirectClosureBuffer
private static final class DirectClosureBuffer.NativeWordIO64 extends DirectClosureBuffer.NativeWordIO
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static DirectClosureBuffer.NativeWordIOINSTANCEprivate static MemoryIOIO
-
Constructor Summary
Constructors Modifier Constructor Description privateNativeWordIO64()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) intget(long address)Reads a native long argument from native memory.(package private) voidput(long address, int value)Writes a native long argument to native memory.-
Methods inherited from class com.kenai.jffi.DirectClosureBuffer.NativeWordIO
getInstance
-
-
-
-
Field Detail
-
IO
private static final MemoryIO IO
-
INSTANCE
static final DirectClosureBuffer.NativeWordIO INSTANCE
-
-
Method Detail
-
put
void put(long address, int value)Description copied from class:DirectClosureBuffer.NativeWordIOWrites a native long argument to native memory.- Specified by:
putin classDirectClosureBuffer.NativeWordIO- Parameters:
address- The address to write the value atvalue- The value to write.
-
get
int get(long address)
Description copied from class:DirectClosureBuffer.NativeWordIOReads a native long argument from native memory.- Specified by:
getin classDirectClosureBuffer.NativeWordIO- Parameters:
address- The memory address to read the value from- Returns:
- An integer
-
-