public string GetTextFromStream() { var text = OutputStream.ToString(); OutputStream.Clear(); return(text); }
public virtual byte[] GetOutputBuffer() { var bytes = OutputStream.ToArray(); OutputStream.Clear(); return(bytes); }
public void Reset() { OutputStream.Clear(); }