write

Writes a value to the buffer.

Supported types: * bool * char * string * byte/short/int/long and their unsigned counterparts * structs (todo) * classes (todo) * arrays * floating-point values (todo) * pointers (in hexadecimal)

Parameters

buffer
Type: Buffer!Char

The buffer to write to

Return Value

Type: Buffer!Char

The remainder of the buffer that has not been written to yet, and the number of characters that were written by the function. In the event of error, numCharsWritten will be 0.

Meta