SocketControlMessage.serialize

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 Socket.controlMessageGetSize on this object.

class SocketControlMessage
void
serialize
(
void* data
)

Parameters

data void*

A buffer to write data to

Meta

Since

2.22