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

◆ Reset() [3/3]

void System.Text.Json.Utf8JsonWriter.Reset ( Stream utf8Json)
inline

Definition at line 82 of file Utf8JsonWriter.cs.

83 {
85 if (utf8Json == null)
86 {
87 throw new ArgumentNullException("utf8Json");
88 }
89 if (!utf8Json.CanWrite)
90 {
92 }
94 if (_arrayBufferWriter == null)
95 {
97 }
98 else
99 {
101 }
102 _output = null;
103 ResetHelper();
104 }
static string StreamNotWritable
Definition SR.cs:154
Definition SR.cs:7
IBufferWriter< byte > _output
ArrayBufferWriter< byte > _arrayBufferWriter

References System.Text.Json.Utf8JsonWriter._arrayBufferWriter, System.Text.Json.Utf8JsonWriter._output, System.Text.Json.Utf8JsonWriter._stream, System.Text.Json.Utf8JsonWriter.CheckNotDisposed(), System.Buffers.ArrayBufferWriter< T >.Clear(), System.Text.Json.Dictionary, System.Text.Json.Utf8JsonWriter.ResetHelper(), and System.SR.StreamNotWritable.