Method AddNBC
AddNBC(ref UnsafeAppendBuffer, string)
Adds the content of a string to this append buffer.
Declaration
[ExcludeFromBurstCompatTesting("Takes managed string")]
public static void AddNBC(this ref UnsafeAppendBuffer buffer, string value)
Parameters
Type | Name | Description |
---|---|---|
UnsafeAppendBuffer | buffer | The buffer to which to add the string. |
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.