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 -
Method Summary
Modifier and TypeMethodDescriptionshortgetInt16(byte[] array, int offset) intgetInt32(byte[] array, int offset) longgetInt64(byte[] array, int offset) final voidputInt16(byte[] buffer, int offset, int value) final voidputInt32(byte[] buffer, int offset, int value) final voidputInt64(byte[] buffer, int offset, long value) Methods inherited from class AbstractArrayMemoryIO.ArrayIO
getAddress, getArrayIO, getFloat32, getFloat64, putAddress, putFloat32, putFloat64
-
Constructor Details
-
BigEndianArrayIO
private BigEndianArrayIO()
-
-
Method Details
-
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
-