public interface PubSubMessageSerDes
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
deserialize(byte[] data,
io.micronaut.core.type.Argument<?> type)
Deserializes data into a target type.
|
byte[] |
serialize(java.lang.Object data)
Serializes the message.
|
java.lang.String |
supportedType() |
java.lang.Object deserialize(byte[] data, io.micronaut.core.type.Argument<?> type)
data
- byte data to deserializetype
- target typebyte[] serialize(java.lang.Object data)
data
- data to serializejava.lang.String supportedType()