public class Utils
extends java.lang.Object
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
(package private) static java.nio.ByteBuffer |
appendBuffers(java.nio.ByteBuffer buffer,
java.nio.ByteBuffer buffer1,
int incomingBufferSize,
int BUFFER_STEP_SIZE)
Concatenates two buffers into one.
|
(package private) static int |
getPort(java.net.URI uri) |
(package private) static java.nio.ByteBuffer |
split(java.nio.ByteBuffer buffer,
int position) |
static java.nio.ByteBuffer appendBuffers(java.nio.ByteBuffer buffer, java.nio.ByteBuffer buffer1, int incomingBufferSize, int BUFFER_STEP_SIZE)
buffer
- first buffer.buffer1
- second buffer.static java.nio.ByteBuffer split(java.nio.ByteBuffer buffer, int position)
static int getPort(java.net.URI uri)