Esempio n. 1
0
 public void Utf8JsonWriterPooledWriter()
 {
     _writerWBufferWriter.WriteStartObject();
     _writerWBufferWriter.WriteString("message", _result.message);
     _writerWBufferWriter.WriteEndObject();
     _writerBufferWriter.Clear();
     _writerWBufferWriter.Reset();
 }
Esempio n. 2
0
 public void New2()
 {
     _output.Clear();
     payloadMedium.Serialize(_output);
 }
Esempio n. 3
0
 public void SourceGenDirectPooledWriter()
 {
     _newPatternInfo.SerializeObject !(_sourceGenWriterBufferWriter, _result, options : null);
     _sourceGenBufferWriter.Clear();
     _sourceGenWriterBufferWriter.Reset();
 }