Package jnr.ffi.provider
Class AbstractArrayMemoryIO.LittleEndianArrayIO
- java.lang.Object
-
- jnr.ffi.provider.AbstractArrayMemoryIO.ArrayIO
-
- jnr.ffi.provider.AbstractArrayMemoryIO.LittleEndianArrayIO
-
- Direct Known Subclasses:
AbstractArrayMemoryIO.LE32ArrayIO,AbstractArrayMemoryIO.LE64ArrayIO
- Enclosing class:
- AbstractArrayMemoryIO
private abstract static class AbstractArrayMemoryIO.LittleEndianArrayIO extends AbstractArrayMemoryIO.ArrayIO
-
-
Constructor Summary
Constructors Modifier Constructor Description privateLittleEndianArrayIO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description shortgetInt16(byte[] array, int offset)intgetInt32(byte[] array, int offset)longgetInt64(byte[] array, int offset)voidputInt16(byte[] buffer, int offset, int value)voidputInt32(byte[] buffer, int offset, int value)voidputInt64(byte[] buffer, int offset, long value)-
Methods inherited from class jnr.ffi.provider.AbstractArrayMemoryIO.ArrayIO
getAddress, getArrayIO, getFloat32, getFloat64, putAddress, putFloat32, putFloat64
-
-
-
-
Method Detail
-
getInt16
public final short getInt16(byte[] array, int offset)- Specified by:
getInt16in classAbstractArrayMemoryIO.ArrayIO
-
getInt32
public final int getInt32(byte[] array, int offset)- Specified by:
getInt32in classAbstractArrayMemoryIO.ArrayIO
-
getInt64
public final long getInt64(byte[] array, int offset)- Specified by:
getInt64in classAbstractArrayMemoryIO.ArrayIO
-
putInt16
public final void putInt16(byte[] buffer, int offset, int value)- Specified by:
putInt16in classAbstractArrayMemoryIO.ArrayIO
-
putInt32
public final void putInt32(byte[] buffer, int offset, int value)- Specified by:
putInt32in classAbstractArrayMemoryIO.ArrayIO
-
putInt64
public final void putInt64(byte[] buffer, int offset, long value)- Specified by:
putInt64in classAbstractArrayMemoryIO.ArrayIO
-
-