Package com.kenai.jffi
Class DirectClosureBuffer.NativeWordIO32
- java.lang.Object
-
- com.kenai.jffi.DirectClosureBuffer.NativeWordIO
-
- com.kenai.jffi.DirectClosureBuffer.NativeWordIO32
-
- Enclosing class:
- DirectClosureBuffer
private static final class DirectClosureBuffer.NativeWordIO32 extends DirectClosureBuffer.NativeWordIO
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static DirectClosureBuffer.NativeWordIO
INSTANCE
private static MemoryIO
IO
-
Constructor Summary
Constructors Modifier Constructor Description private
NativeWordIO32()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) int
get(long address)
Reads a native long argument from native memory.(package private) void
put(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.NativeWordIO
Writes a native long argument to native memory.- Specified by:
put
in 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.NativeWordIO
Reads a native long argument from native memory.- Specified by:
get
in classDirectClosureBuffer.NativeWordIO
- Parameters:
address
- The memory address to read the value from- Returns:
- An integer
-
-