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

◆ WriteNumberValueMinimized() [6/6]

void System.Text.Json.Utf8JsonWriter.WriteNumberValueMinimized ( ulong value)
inlineprivate

Definition at line 5420 of file Utf8JsonWriter.cs.

5421 {
5422 int num = 21;
5423 if (_memory.Length - BytesPending < num)
5424 {
5425 Grow(num);
5426 }
5427 Span<byte> span = _memory.Span;
5428 if (_currentDepth < 0)
5429 {
5430 span[BytesPending++] = 44;
5431 }
5432 int bytesWritten;
5435 }
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.