示例#1
0
        public string GetTextFromStream()
        {
            var text = OutputStream.ToString();

            OutputStream.Clear();
            return(text);
        }
示例#2
0
        public virtual byte[] GetOutputBuffer()
        {
            var bytes = OutputStream.ToArray();

            OutputStream.Clear();
            return(bytes);
        }
示例#3
0
 public void Reset()
 {
     OutputStream.Clear();
 }