public abstract class ByteBufferUtils extends Object
| Constructor and Description |
|---|
ByteBufferUtils() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
readBytes(ByteBuffer buffer)
Read the given byte buffer into a byte array
|
static byte[] |
readBytes(ByteBuffer buffer,
int offset,
int size)
Read a byte array from the given offset and size in the buffer
|
public static byte[] readBytes(ByteBuffer buffer)
public static byte[] readBytes(ByteBuffer buffer, int offset, int size)
Copyright © 2012-2016 Graylog, Inc.. All Rights Reserved.