kafka-proto-serde / com.fleshgrinder.kotlin.kafka / BaseSerde / doDeserialize

doDeserialize

protected abstract fun doDeserialize(topic: String, data: ByteArray): T

Extending classes must implement this function to convert the ByteArray back to its original type T.

Parameters

topic - associated with data

data - to deserialize

Exceptions

SerializationException -

Return
T deserialized from data

See Also

deserialize