| Package | Description |
|---|---|
| java.nio |
| Modifier and Type | Field and Description |
|---|---|
static ByteOrder |
ByteOrder.BIG_ENDIAN
This constant represents big endian.
|
static ByteOrder |
ByteOrder.LITTLE_ENDIAN
This constant represents little endian.
|
| Modifier and Type | Method and Description |
|---|---|
static ByteOrder |
ByteOrder.nativeOrder()
Returns the current platform byte order.
|
abstract ByteOrder |
ShortBuffer.order()
Returns the byte order used by this buffer when converting shorts from/to
bytes.
|
abstract ByteOrder |
LongBuffer.order()
Returns the byte order used by this buffer when converting longs from/to
bytes.
|
abstract ByteOrder |
IntBuffer.order()
Returns the byte order used by this buffer when converting ints from/to
bytes.
|
abstract ByteOrder |
FloatBuffer.order()
Returns the byte order used by this buffer when converting floats from/to
bytes.
|
abstract ByteOrder |
DoubleBuffer.order()
Returns the byte order used by this buffer when converting doubles
from/to bytes.
|
abstract ByteOrder |
CharBuffer.order()
Returns the byte order used by this buffer when converting chars from/to
bytes.
|
ByteOrder |
ByteBuffer.order()
Returns the byte order used by this buffer when converting bytes from/to
other primitive types.
|
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
ByteBuffer.order(ByteOrder byteOrder)
Sets the byte order of this buffer.
|
Copyright © 2020 Dmitrii Tikhomirov. All rights reserved.