serialize

open fun serialize(data: <Error class: unknown class>)

Converts the data in the message to bytes placed in the message.

Since

2.22

Parameters

data

A buffer to write data to