示例#1
0
 public void Dispose()
 {
     BaseWriter.Flush();
     BaseWriter.Dispose();
 }
 /// <inheritdoc />
 public string Read()
 {
     BaseWriter.Flush();
     return(Options.Encoding.GetString((BaseWriter.BaseStream as MemoryStream).ToArray()));
 }