Package jnr.ffi.provider
Class AbstractArrayMemoryIO.ArrayIO
- java.lang.Object
-
- jnr.ffi.provider.AbstractArrayMemoryIO.ArrayIO
-
- Enclosing class:
- AbstractArrayMemoryIO
protected abstract static class AbstractArrayMemoryIO.ArrayIO extends Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedArrayIO()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract longgetAddress(byte[] buffer, int offset)static AbstractArrayMemoryIO.ArrayIOgetArrayIO(Runtime runtime)floatgetFloat32(byte[] buffer, int offset)doublegetFloat64(byte[] buffer, int offset)abstract shortgetInt16(byte[] buffer, int offset)abstract intgetInt32(byte[] buffer, int offset)abstract longgetInt64(byte[] buffer, int offset)abstract voidputAddress(byte[] buffer, int offset, long value)voidputFloat32(byte[] buffer, int offset, float value)voidputFloat64(byte[] buffer, int offset, double value)abstract voidputInt16(byte[] buffer, int offset, int value)abstract voidputInt32(byte[] buffer, int offset, int value)abstract voidputInt64(byte[] buffer, int offset, long value)
-
-
-
Method Detail
-
getArrayIO
public static AbstractArrayMemoryIO.ArrayIO getArrayIO(Runtime runtime)
-
getInt16
public abstract short getInt16(byte[] buffer, int offset)
-
getInt32
public abstract int getInt32(byte[] buffer, int offset)
-
getInt64
public abstract long getInt64(byte[] buffer, int offset)
-
getAddress
public abstract long getAddress(byte[] buffer, int offset)
-
putInt16
public abstract void putInt16(byte[] buffer, int offset, int value)
-
putInt32
public abstract void putInt32(byte[] buffer, int offset, int value)
-
putInt64
public abstract void putInt64(byte[] buffer, int offset, long value)
-
putAddress
public abstract void putAddress(byte[] buffer, int offset, long value)
-
getFloat32
public final float getFloat32(byte[] buffer, int offset)
-
putFloat32
public final void putFloat32(byte[] buffer, int offset, float value)
-
getFloat64
public final double getFloat64(byte[] buffer, int offset)
-
putFloat64
public final void putFloat64(byte[] buffer, int offset, double value)
-
-