public final class ByteBufferDestinationHelper extends Object
| Modifier and Type | Method | Description |
|---|---|---|
static void |
writeToUnsynchronized(byte[] data,
int offset,
int length,
ByteBufferDestination destination) |
Writes the specified data to the specified destination.
|
static void |
writeToUnsynchronized(ByteBuffer source,
ByteBufferDestination destination) |
Writes the specified data to the specified destination.
|
public static void writeToUnsynchronized(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 toCopyright © 1999-2018. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.