| Modifier and Type | Field and Description |
|---|---|
| private static final boolean | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static Object | |
| pack-priv static int | getDirectBufferByteOffset(Object buf)
Helper routine to get the Buffer byte offset by taking into account the Buffer position and the underlying type. |
| pack-priv static int | getIndirectBufferByteOffset(Object buf)
Helper routine to get the full byte offset from the beginning of the array that is the storage for the indirect Buffer object. |
| pack-priv static boolean | |
| pack-priv static boolean | |
| pack-priv static ByteBuffer | nativeOrder(ByteBuffer buf)
Helper routine to set a ByteBuffer to the native byte order, if that operation is supported by the underlying NIO implementation. |
| pack-priv static ByteBuffer |
| isLittleEndian | back to summary |
|---|---|
| private static final boolean isLittleEndian | |
| SIZEOF_BYTE | back to summary |
|---|---|
| pack-priv static final int SIZEOF_BYTE | |
| SIZEOF_CHAR | back to summary |
|---|---|
| pack-priv static final int SIZEOF_CHAR | |
| SIZEOF_DOUBLE | back to summary |
|---|---|
| pack-priv static final int SIZEOF_DOUBLE | |
| SIZEOF_FLOAT | back to summary |
|---|---|
| pack-priv static final int SIZEOF_FLOAT | |
| SIZEOF_INT | back to summary |
|---|---|
| pack-priv static final int SIZEOF_INT | |
| SIZEOF_LONG | back to summary |
|---|---|
| pack-priv static final int SIZEOF_LONG | |
| SIZEOF_SHORT | back to summary |
|---|---|
| pack-priv static final int SIZEOF_SHORT | |
| BufferFactory | back to summary |
|---|---|
| pack-priv BufferFactory() | |
| getArray | back to summary |
|---|---|
| pack-priv static Object getArray(Object buf) Helper routine to return the array backing store reference from a Buffer object. | |
| getDirectBufferByteOffset | back to summary |
|---|---|
| pack-priv static int getDirectBufferByteOffset(Object buf) Helper routine to get the Buffer byte offset by taking into account the Buffer position and the underlying type. This is the total offset for Direct Buffers. | |
| getIndirectBufferByteOffset | back to summary |
|---|---|
| pack-priv static int getIndirectBufferByteOffset(Object buf) Helper routine to get the full byte offset from the beginning of the array that is the storage for the indirect Buffer object. The array offset also includes the position offset within the buffer, in addition to any array offset. | |
| isDirect | back to summary |
|---|---|
| pack-priv static boolean isDirect(Object buf) Helper routine to tell whether a buffer is direct or not. Null pointers are considered direct. isDirect() should really be in Buffer and not replicated in all subclasses. | |
| isLittleEndian | back to summary |
|---|---|
| pack-priv static boolean isLittleEndian() | |
| nativeOrder | back to summary |
|---|---|
| pack-priv static ByteBuffer nativeOrder(ByteBuffer buf) Helper routine to set a ByteBuffer to the native byte order, if that operation is supported by the underlying NIO implementation. | |
| newDirectByteBuffer | back to summary |
|---|---|
| pack-priv static ByteBuffer newDirectByteBuffer(int size) Helper routine to create a direct ByteBuffer with native order | |