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