public void Write(string input) { if (!CanWrite) { return; } WriteStream.WriteLine(input); WriteStream.Flush(); HBuffer.Add(input); ReadOffset = 0; }