Method AppendUTF8StringToUnsafeText
AppendUTF8StringToUnsafeText(ref UnsafeText, ref FormatterStruct, int, ref ArgumentInfo)
Reads the pointer as a UTF8 string and appends it to the UnsafeText. Checks out of bound read if debug checks are present
Declaration
public bool AppendUTF8StringToUnsafeText(ref UnsafeText hstring, ref FormatterStruct formatter, int stringLengthInBytes, ref ArgumentInfo currArgSlot)
Parameters
Type | Name | Description |
---|---|---|
UnsafeText | hstring | UnsafeText where to append |
FormatterStruct | formatter | Current formatter |
int | stringLengthInBytes | Length of the UTF8 string in bytes |
ArgumentInfo | currArgSlot | Hole that was used to describe the struct in the log message, for instance |
Returns
Type | Description |
---|---|
bool | True if append was successful |