| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static CharSequence | |
| public static CharSequence | |
| public static String | |
| public static int | |
| public static int | |
| public static int | Returns: The position within the buffer that value is found, or -1 if not found.The ByteBuffer to find the value in buf, byte The value to locate value)Finds the position of a byte relative to the start of the buffer. |
| public static void | |
| public static void | |
| public static void | |
| public static ByteBuffer | |
| public static ByteBuffer |
| BufferUtil | back to summary |
|---|---|
| private BufferUtil() | |
| getCharSequence | back to summary |
|---|---|
| public static CharSequence getCharSequence(ByteBuffer buf, Charset charset) | |
| getCharSequence | back to summary |
|---|---|
| public static CharSequence getCharSequence(final ByteBuffer buf, final CharsetDecoder decoder) | |
| getString | back to summary |
|---|---|
| public static String getString(ByteBuffer buf, Charset charset) | |
| indexOf | back to summary |
|---|---|
| public static int indexOf(ByteBuffer buf, byte value) | |
| indexOf | back to summary |
|---|---|
| public static int indexOf(ByteBuffer buf, int offset, byte value) | |
| positionOf | back to summary |
|---|---|
| public static int positionOf(ByteBuffer buf, byte value) Finds the position of a byte relative to the start of the buffer.
| |
| putCharSequence | back to summary |
|---|---|
| public static void putCharSequence(ByteBuffer buf, Charset charset, CharSequence value) | |
| putCharSequence | back to summary |
|---|---|
| public static void putCharSequence(ByteBuffer buf, CharsetEncoder encoder, CharSequence value) | |
| putString | back to summary |
|---|---|
| public static void putString(ByteBuffer buf, Charset charset, String value) | |
| slice | back to summary |
|---|---|
| public static ByteBuffer slice(final ByteBuffer buffer, final int position) | |
| slice | back to summary |
|---|---|
| public static ByteBuffer slice(final ByteBuffer buffer, final int position, final int size) | |