BufferedOutput.this

Construct a Buffer upon the provided input stream.

  1. this(OutputStream stream, void delegate() flush_notifier)
  2. this(OutputStream stream, size_t capacity, void delegate() flush_notifier)
    class BufferedOutput
    this
    (
    OutputStream stream
    ,
    size_t capacity
    ,
    scope void delegate
    ()
    flush_notifier = null
    )

Parameters

stream OutputStream

An input stream.

capacity size_t

Desired buffer capacity.

flush_notifier void delegate
()

user specified delegate called after the content of the buffer has been flushed to upstream output.

Meta