-
-
Methods in java.nio that return ByteOrder
| Modifier and Type |
Method |
Description |
static ByteOrder |
ByteOrder.nativeOrder() |
Returns the current platform byte order.
|
ByteOrder |
ByteBuffer.order() |
Returns the byte order used by this buffer when converting bytes from/to
other primitive types.
|
abstract ByteOrder |
CharBuffer.order() |
Returns the byte order used by this buffer when converting chars from/to
bytes.
|
abstract ByteOrder |
DoubleBuffer.order() |
Returns the byte order used by this buffer when converting doubles
from/to bytes.
|
abstract ByteOrder |
FloatBuffer.order() |
Returns the byte order used by this buffer when converting floats from/to
bytes.
|
abstract ByteOrder |
IntBuffer.order() |
Returns the byte order used by this buffer when converting ints from/to
bytes.
|
abstract ByteOrder |
LongBuffer.order() |
Returns the byte order used by this buffer when converting longs from/to
bytes.
|
abstract ByteOrder |
ShortBuffer.order() |
Returns the byte order used by this buffer when converting shorts from/to
bytes.
|
-
Methods in libcore.io with parameters of type ByteOrder
| Modifier and Type |
Method |
Description |
static BufferIterator |
HeapBufferIterator.iterator(byte[] buffer,
int offset,
int byteCount,
ByteOrder order) |
Returns a new iterator over buffer, starting at offset and continuing for
byteCount bytes.
|
static int |
Memory.peekInt(byte[] src,
int offset,
ByteOrder order) |
|
static long |
Memory.peekLong(byte[] src,
int offset,
ByteOrder order) |
|
static short |
Memory.peekShort(byte[] src,
int offset,
ByteOrder order) |
|
static void |
Memory.pokeInt(byte[] dst,
int offset,
int value,
ByteOrder order) |
|
static void |
Memory.pokeLong(byte[] dst,
int offset,
long value,
ByteOrder order) |
|
static void |
Memory.pokeShort(byte[] dst,
int offset,
short value,
ByteOrder order) |
|