protected fun doSerialize(topic: String, data: T): ByteArray
Overrides BaseSerde.doSerialize
Extending classes must implement this method to convert data of type T to a ByteArray.
topic
- associated with data
Return
ByteArray serialized from data
See Also