protected virtual void ResetOutputStream() { _outputStream = new MemoryStream(); _engine.Runtime.IO.SetOutput(_outputStream, Encoding.UTF8); }