Inheritance: System.IO.TextWriter
Exemplo n.º 1
0
 public BufferedOutputStream(BufferedOutput output)
 {
     this.output = output;
 }
Exemplo n.º 2
0
 BufferedOutput EnsureBufferedOutput(bool enableBuffering)
 => _bufferedOutput ?? (_bufferedOutput = new BufferedOutput(this, enableBuffering, _textSink, _streamSink));
Exemplo n.º 3
0
 public BufferedOutputStream(BufferedOutput output)
 {
     this.output = output;
 }
Exemplo n.º 4
0
        private static PhpArray/*!*/ GetLevelStatus(BufferedOutput/*!*/ bo, int index)
        {
            PhpArray result = new PhpArray(0, 3);

            Delegate filter;
            int size;
            bo.GetLevelInfo(index, out filter, out size);

            if (filter != null)
            {
                result.Add("type", 1);
                result.Add("name", filter.ToString());
            }
            else
            {
                result.Add("type", 0);
            }
            result.Add("buffer_size", size);

            return result;
        }
Exemplo n.º 5
0
 BufferedOutput EnsureBufferedOutput(bool enableBuffering)
     => _bufferedOutput ?? (_bufferedOutput = new BufferedOutput(enableBuffering, _textSink, _streamSink, this.StringEncoding));
Exemplo n.º 6
0
 BufferedOutput EnsureBufferedOutput(bool enableBuffering)
 => _bufferedOutput ?? (_bufferedOutput = new BufferedOutput(enableBuffering, _textSink, _streamSink, this.StringEncoding));