private void FlushPendingBuffer() { if (null == _pendingBuffer) return; // Some characters were left in the buffer WriteOutput(_pendingBuffer, 0, _pendingBuffer.Length); _pendingBuffer = null; }