TTransport.write

Writes the passed slice of data.

Note: You must call flush() to ensure the data is actually written, and available to be read back in the future. Destroying a TTransport object does not automatically flush pending data – if you destroy a TTransport object with written but unflushed data, that data may be discarded.

interface TTransport
void
write
(
in ubyte[] buf
)

Parameters

buf ubyte[]

Slice of data to write.

Throws

TTransportException if an error occurs.

Meta