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

◆ WriteBase64Escape() [1/2]

void System.Text.Json.Utf8JsonWriter.WriteBase64Escape ( ReadOnlySpan< byte > utf8PropertyName,
ReadOnlySpan< byte > bytes )
inlineprivate

Definition at line 668 of file Utf8JsonWriter.cs.

669 {
670 int num = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder);
671 if (num != -1)
672 {
674 }
675 else
676 {
678 }
679 }
void WriteBase64EscapeProperty(ReadOnlySpan< char > propertyName, ReadOnlySpan< byte > bytes, int firstEscapeIndexProp)
void WriteBase64ByOptions(ReadOnlySpan< char > propertyName, ReadOnlySpan< byte > bytes)

References System.Text.Json.Utf8JsonWriter._options, System.bytes, System.Text.Json.Dictionary, System.Text.Json.JsonWriterOptions.Encoder, System.Text.Json.JsonWriterHelper.NeedsEscaping(), System.Text.Json.Utf8JsonWriter.WriteBase64ByOptions(), and System.Text.Json.Utf8JsonWriter.WriteBase64EscapeProperty().