public class ByteBufferEncoder extends Object implements Encoder.Binary<ByteBuffer>
Encoder.Binary<T>, Encoder.BinaryStream<T>, Encoder.Text<T>, Encoder.TextStream<T>
Constructor and Description |
---|
ByteBufferEncoder() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
ByteBuffer |
encode(ByteBuffer object) |
void |
init(EndpointConfig config) |
public ByteBuffer encode(ByteBuffer object) throws EncodeException
encode
in interface Encoder.Binary<ByteBuffer>
EncodeException
public void init(EndpointConfig config)
Copyright © 1995-2016 Webtide. All Rights Reserved.