public void Dispose()
 {
     Flush();
     FStreamWriter.Dispose();
     MemoryPool <T> .PutArray(FBuffer);
 }
 internal BufferedStreamWriter(IOutStream <T> stream)
 {
     FStreamWriter = stream.GetWriter();
     FBuffer       = MemoryPool <T> .GetArray();
 }
Beispiel #3
0
 public void Dispose()
 {
     MemoryPool <T> .PutArray(this.Array);
 }