public class ByteBufferSerializer extends Object implements Serializer<ByteBuffer>
| Constructor and Description | 
|---|
| ByteBufferSerializer() | 
| Modifier and Type | Method and Description | 
|---|---|
| byte[] | serialize(String topic,
         ByteBuffer data)Convert  datainto a byte array. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, configure, serializepublic byte[] serialize(String topic, ByteBuffer data)
Serializerdata into a byte array.serialize in interface Serializer<ByteBuffer>topic - topic associated with datadata - typed data