public final class ByteBufferDestinationHelper
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
private |
ByteBufferDestinationHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
writeToUnsynchronized(byte[] data,
int offset,
int length,
ByteBufferDestination destination)
Writes the specified data to the specified destination.
|
static void |
writeToUnsynchronized(java.nio.ByteBuffer source,
ByteBufferDestination destination)
Writes the specified data to the specified destination.
|
public static void writeToUnsynchronized(java.nio.ByteBuffer source,
ByteBufferDestination destination)
ByteBufferDestination.writeBytes(ByteBuffer) implementations.source - the data to writedestination - the ByteBufferDestination to write topublic static void writeToUnsynchronized(byte[] data,
int offset,
int length,
ByteBufferDestination destination)
ByteBufferDestination.writeBytes(byte[], int, int) implementations.data - the data to writeoffset - where to start in the specified data arraylength - the number of bytes to writedestination - the ByteBufferDestination to write to