| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final ThreadLocal | |
| private static final ThreadLocal | |
| private static final int | |
| private static final ThreadLocal | |
| private static final ThreadLocal | |
| private static final int | |
| private static final int | |
| private static final ThreadLocal |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static ByteBuffer | encode(final ByteBuffer
The target buffer buffer, final CharSequence The source string string)Simple ASCII encoding. |
| private static char[] | |
| pack-priv static long | Returns: the String as a ByteBufferReturns a buffer containing the specified string as bytes. |
| pack-priv static long | Returns: the String as a ByteBufferReturns a buffer containing the specified string as bytes, starting at the specified offset. |
| pack-priv static long | Returns: the Strings as a ByteBufferReturns a buffer containing the specified strings as bytes. |
| pack-priv static ByteBuffer | |
| pack-priv static long | |
| private static ByteBuffer | |
| pack-priv static FloatBuffer | |
| pack-priv static IntBuffer | |
| pack-priv static LongBuffer | |
| pack-priv static long | Returns: the String as a ByteBufferReturns a buffer containing the specified string as bytes, including null-termination. |
| pack-priv static long | Returns: the Strings as a ByteBufferReturns a buffer containing the specified strings as bytes, including null-termination. |
| pack-priv static PointerBuffer | |
| pack-priv static long | |
| pack-priv static IntBuffer | |
| pack-priv static IntBuffer | |
| pack-priv static long | Returns: the String lengths in an IntBufferReturns a buffer containing the lengths of the specified strings. |
| pack-priv static String | Returns: the buffer as a String.Reads a byte string from the specified buffer. |
| pack-priv static int |
| arrayTL | back to summary |
|---|---|
| private static final ThreadLocal<char[]> arrayTL | |
| bufferPointerTL | back to summary |
|---|---|
| private static final ThreadLocal<PointerBuffer> bufferPointerTL | |
| BUFFERS_SIZE | back to summary |
|---|---|
| private static final int BUFFERS_SIZE | |
| buffersTL | back to summary |
|---|---|
| private static final ThreadLocal<APIUtil. | |
| bufferTL | back to summary |
|---|---|
| private static final ThreadLocal<ByteBuffer> bufferTL | |
| INITIAL_BUFFER_SIZE | back to summary |
|---|---|
| private static final int INITIAL_BUFFER_SIZE | |
| INITIAL_LENGTHS_SIZE | back to summary |
|---|---|
| private static final int INITIAL_LENGTHS_SIZE | |
| lengthsTL | back to summary |
|---|---|
| private static final ThreadLocal<IntBuffer> lengthsTL | |
| APIUtil | back to summary |
|---|---|
| private APIUtil() | |
| encode | back to summary |
|---|---|
| private static ByteBuffer encode(final ByteBuffer buffer, final CharSequence string) Simple ASCII encoding.
| |
| getArray | back to summary |
|---|---|
| private static char[] getArray(final int size) | |
| getBuffer | back to summary |
|---|---|
| pack-priv static long getBuffer(final CharSequence string) Returns a buffer containing the specified string as bytes.
| |
| getBuffer | back to summary |
|---|---|
| pack-priv static long getBuffer(final CharSequence string, final int offset) Returns a buffer containing the specified string as bytes, starting at the specified offset.
| |
| getBuffer | back to summary |
|---|---|
| pack-priv static long getBuffer(final CharSequence[] strings) Returns a buffer containing the specified strings as bytes.
| |
| getBufferByte | back to summary |
|---|---|
| pack-priv static ByteBuffer getBufferByte(final int size) | |
| getBufferByte0 | back to summary |
|---|---|
| pack-priv static long getBufferByte0() | |
| getBufferByteOffset | back to summary |
|---|---|
| private static ByteBuffer getBufferByteOffset(final int size) | |
| getBufferFloat | back to summary |
|---|---|
| pack-priv static FloatBuffer getBufferFloat() | |
| getBufferInt | back to summary |
|---|---|
| pack-priv static IntBuffer getBufferInt() | |
| getBufferLong | back to summary |
|---|---|
| pack-priv static LongBuffer getBufferLong() | |
| getBufferNT | back to summary |
|---|---|
| pack-priv static long getBufferNT(final CharSequence string) Returns a buffer containing the specified string as bytes, including null-termination.
| |
| getBufferNT | back to summary |
|---|---|
| pack-priv static long getBufferNT(final CharSequence[] strings) Returns a buffer containing the specified strings as bytes, including null-termination.
| |
| getBufferPointer | back to summary |
|---|---|
| pack-priv static PointerBuffer getBufferPointer(final int size) | |
| getInt | back to summary |
|---|---|
| pack-priv static long getInt(final int value) | |
| getLengths | back to summary |
|---|---|
| pack-priv static IntBuffer getLengths() | |
| getLengths | back to summary |
|---|---|
| pack-priv static IntBuffer getLengths(final int size) | |
| getLengths | back to summary |
|---|---|
| pack-priv static long getLengths(final CharSequence[] strings) Returns a buffer containing the lengths of the specified strings.
| |
| getString | back to summary |
|---|---|
| pack-priv static String getString(final ByteBuffer buffer) Reads a byte string from the specified buffer.
| |
| getTotalLength | back to summary |
|---|---|
| pack-priv static int getTotalLength(final CharSequence[] strings) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final FloatBuffer | |
| pack-priv final IntBuffer | |
| pack-priv final LongBuffer |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| floats | back to summary |
|---|---|
| pack-priv final FloatBuffer floats | |
| ints | back to summary |
|---|---|
| pack-priv final IntBuffer ints | |
| longs | back to summary |
|---|---|
| pack-priv final LongBuffer longs | |
| Buffers | back to summary |
|---|---|
| pack-priv Buffers() | |