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

◆ WriteStringValueMinimized() [3/3]

void System.Text.Json.Utf8JsonWriter.WriteStringValueMinimized ( Guid value)
inlineprivate

Definition at line 4845 of file Utf8JsonWriter.cs.

4846 {
4847 int num = 39;
4848 if (_memory.Length - BytesPending < num)
4849 {
4850 Grow(num);
4851 }
4852 Span<byte> span = _memory.Span;
4853 if (_currentDepth < 0)
4854 {
4855 span[BytesPending++] = 44;
4856 }
4857 span[BytesPending++] = 34;
4858 int bytesWritten;
4861 span[BytesPending++] = 34;
4862 }
static bool TryFormat(bool value, Span< byte > destination, out int bytesWritten, StandardFormat format=default(StandardFormat))
void Grow(int requiredSize)
unsafe Span< T > Span
Definition Memory.cs:28

References System.Text.Json.Utf8JsonWriter._currentDepth, System.Text.Json.Utf8JsonWriter._memory, System.Text.Json.Utf8JsonWriter.BytesPending, System.Text.Json.Dictionary, System.Text.Json.Utf8JsonWriter.Grow(), System.Memory< T >.Length, System.Memory< T >.Span, System.Buffers.Text.Utf8Formatter.TryFormat(), and System.value.