Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AddNBC(ref UnsafeAppendBuffer, string)

Adds the content of a string to this append buffer.
Read time 1 minuteLast updated 20 days ago

Definition

AddNBC(UnsafeAppendBuffer, string)

[ExcludeFromBurstCompatTesting("Takes managed string")]public static void AddNBC(this ref UnsafeAppendBuffer buffer, string value)

Parameters

The buffer to which to add the string.

value

The string to copy.

Remarks

The length of the string is written as an int to the buffer before the characters are written.