BufferedOutput.create

Attempts to share an upstream BufferedOutput, and creates a new instance where there's not a shared one available.

class BufferedOutput
static
OutputBuffer
create
(
OutputStream stream
)

Parameters

stream OutputStream

An output stream.

Remarks: Where an upstream instance is visible it will be returned. Otherwise, a new instance is created based upon the bufferSize exposed by the associated conduit

Meta