Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ WriteSerializedString()

void System.Reflection.Metadata.BlobWriter.WriteSerializedString ( string? str)
inline

Definition at line 368 of file BlobWriter.cs.

369 {
370 if (str == null)
371 {
372 WriteByte(byte.MaxValue);
373 }
374 else
375 {
376 WriteUTF8(str, 0, str.Length, allowUnpairedSurrogates: true, prependSize: true);
377 }
378 }
void WriteUTF8(string value, bool allowUnpairedSurrogates)

References System.Reflection.MaxValue, System.str, System.Reflection.Metadata.BlobWriter.WriteByte(), and System.Reflection.Metadata.BlobWriter.WriteUTF8().