| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static void | checkNotNull(ByteBuffer[] buffers)
Throws |
| pack-priv static void | consume(ByteBuffer[] sourceBuffers, int toConsume)
Marks |
| pack-priv static ByteBuffer | copyNoConsume(ByteBuffer[] buffers, ByteBuffer destination, int maxAmount)
Copies up to |
| pack-priv static ByteBuffer | getBufferLargerThan(ByteBuffer[] buffers, int minSize)
Looks for a buffer in the buffer array which EITHER is larger than |
| pack-priv static long |
| BufferUtils | back to summary |
|---|---|
| private BufferUtils() | |
| checkNotNull | back to summary |
|---|---|
| pack-priv static void checkNotNull(ByteBuffer[] buffers) Throws | |
| consume | back to summary |
|---|---|
| pack-priv static void consume(ByteBuffer[] sourceBuffers, int toConsume) Marks
| |
| copyNoConsume | back to summary |
|---|---|
| pack-priv static ByteBuffer copyNoConsume(ByteBuffer[] buffers, ByteBuffer destination, int maxAmount) Copies up to | |
| getBufferLargerThan | back to summary |
|---|---|
| pack-priv static ByteBuffer getBufferLargerThan(ByteBuffer[] buffers, int minSize) Looks for a buffer in the buffer array which EITHER is larger than | |
| remaining | back to summary |
|---|---|
| pack-priv static long remaining(ByteBuffer[] buffers) Returns the total number of bytes remaining in the buffer array. | |