Package jnr.ffi.provider
Class AbstractArrayMemoryIO.BigEndianArrayIO
- java.lang.Object
-
- jnr.ffi.provider.AbstractArrayMemoryIO.ArrayIO
-
- jnr.ffi.provider.AbstractArrayMemoryIO.BigEndianArrayIO
-
- Direct Known Subclasses:
AbstractArrayMemoryIO.BE32ArrayIO,AbstractArrayMemoryIO.BE64ArrayIO
- Enclosing class:
- AbstractArrayMemoryIO
private abstract static class AbstractArrayMemoryIO.BigEndianArrayIO extends AbstractArrayMemoryIO.ArrayIO
-
-
Constructor Summary
Constructors Modifier Constructor Description privateBigEndianArrayIO()
-
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 short getInt16(byte[] array, int offset)- Specified by:
getInt16in classAbstractArrayMemoryIO.ArrayIO
-
getInt32
public int getInt32(byte[] array, int offset)- Specified by:
getInt32in classAbstractArrayMemoryIO.ArrayIO
-
getInt64
public 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
-
-