Aliases

None.

Arguments

string | buffer | {number}
required
Replacement bytes as a string, buffer, or 1-based numeric byte array.

Returns

This function returns no values. Use only inside the synchronous send callback. String and buffer inputs are binary-safe. Byte arrays are read as 1-based numeric sequences with values converted to integers then checked against 0..255. Related types: RakNet types & behavior.

Example