| Modifier and Type | Field and Description |
|---|---|
| private char[] | |
| private ByteBuffer | |
| private static final int | |
| private final DoubleBuffer | |
| private final FloatBuffer | |
| private static final int | |
| private static final int | |
| private final IntBuffer | |
| private IntBuffer | |
| private final LongBuffer |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| 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 DoubleBuffer | |
| 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 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 |
| array | back to summary |
|---|---|
| private char[] array | |
| buffer | back to summary |
|---|---|
| private ByteBuffer buffer | |
| BUFFERS_SIZE | back to summary |
|---|---|
| private static final int BUFFERS_SIZE | |
| doubles | back to summary |
|---|---|
| private final DoubleBuffer doubles | |
| floats | back to summary |
|---|---|
| private final FloatBuffer floats | |
| 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 | |
| ints | back to summary |
|---|---|
| private final IntBuffer ints | |
| lengths | back to summary |
|---|---|
| private IntBuffer lengths | |
| longs | back to summary |
|---|---|
| private final LongBuffer longs | |
| APIUtil | back to summary |
|---|---|
| pack-priv 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 ContextCapabilities caps, final int size) | |
| getBuffer | back to summary |
|---|---|
| pack-priv static long getBuffer(final ContextCapabilities caps, final CharSequence string) Returns a buffer containing the specified string as bytes.
| |
| getBuffer | back to summary |
|---|---|
| pack-priv static long getBuffer(final ContextCapabilities caps, 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 ContextCapabilities caps, final CharSequence[] strings) Returns a buffer containing the specified strings as bytes.
| |
| getBufferByte | back to summary |
|---|---|
| pack-priv static ByteBuffer getBufferByte(final ContextCapabilities caps, final int size) | |
| getBufferByte0 | back to summary |
|---|---|
| pack-priv static long getBufferByte0(final ContextCapabilities caps) | |
| getBufferByteOffset | back to summary |
|---|---|
| private static ByteBuffer getBufferByteOffset(final ContextCapabilities caps, final int size) | |
| getBufferDouble | back to summary |
|---|---|
| pack-priv static DoubleBuffer getBufferDouble(final ContextCapabilities caps) | |
| getBufferFloat | back to summary |
|---|---|
| pack-priv static FloatBuffer getBufferFloat(final ContextCapabilities caps) | |
| getBufferInt | back to summary |
|---|---|
| pack-priv static IntBuffer getBufferInt(final ContextCapabilities caps) | |
| getBufferLong | back to summary |
|---|---|
| pack-priv static LongBuffer getBufferLong(final ContextCapabilities caps) | |
| getBufferNT | back to summary |
|---|---|
| pack-priv static long getBufferNT(final ContextCapabilities caps, 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 ContextCapabilities caps, final CharSequence[] strings) Returns a buffer containing the specified strings as bytes, including null-termination.
| |
| getInt | back to summary |
|---|---|
| pack-priv static long getInt(final ContextCapabilities caps, final int value) | |
| getLengths | back to summary |
|---|---|
| pack-priv static IntBuffer getLengths(final ContextCapabilities caps) | |
| getLengths | back to summary |
|---|---|
| pack-priv static IntBuffer getLengths(final ContextCapabilities caps, final int size) | |
| getLengths | back to summary |
|---|---|
| pack-priv static long getLengths(final ContextCapabilities caps, final CharSequence[] strings) Returns a buffer containing the lengths of the specified strings.
| |
| getString | back to summary |
|---|---|
| pack-priv static String getString(final ContextCapabilities caps, final ByteBuffer buffer) Reads a byte string from the specified buffer.
| |
| getTotalLength | back to summary |
|---|---|
| pack-priv static int getTotalLength(final CharSequence[] strings) | |