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 private
LittleEndianArrayIO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description short
getInt16(byte[] array, int offset)
int
getInt32(byte[] array, int offset)
long
getInt64(byte[] array, int offset)
void
putInt16(byte[] buffer, int offset, int value)
void
putInt32(byte[] buffer, int offset, int value)
void
putInt64(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:
getInt16
in classAbstractArrayMemoryIO.ArrayIO
-
getInt32
public final int getInt32(byte[] array, int offset)
- Specified by:
getInt32
in classAbstractArrayMemoryIO.ArrayIO
-
getInt64
public final long getInt64(byte[] array, int offset)
- Specified by:
getInt64
in classAbstractArrayMemoryIO.ArrayIO
-
putInt16
public final void putInt16(byte[] buffer, int offset, int value)
- Specified by:
putInt16
in classAbstractArrayMemoryIO.ArrayIO
-
putInt32
public final void putInt32(byte[] buffer, int offset, int value)
- Specified by:
putInt32
in classAbstractArrayMemoryIO.ArrayIO
-
putInt64
public final void putInt64(byte[] buffer, int offset, long value)
- Specified by:
putInt64
in classAbstractArrayMemoryIO.ArrayIO
-
-