serialize


Description:

public virtual void serialize (uint8[] data)

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

data is guaranteed to have enough space to fit the size returned by get_size on this object.

Parameters:

this

a SocketControlMessage

data

A buffer to write data to