public class ByteBufferSerializer<T> extends Object
| Constructor and Description |
|---|
ByteBufferSerializer() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
read(ByteBuffer buffer,
ObjectStrategy<T> strategy) |
static <T> void |
writeToChannel(T obj,
ObjectStrategy<T> strategy,
WritableByteChannel channel) |
public static <T> T read(ByteBuffer buffer, ObjectStrategy<T> strategy)
public static <T> void writeToChannel(T obj,
ObjectStrategy<T> strategy,
WritableByteChannel channel)
throws IOException
IOExceptionCopyright © 2011–2015. All rights reserved.