BufferedOutput.copy

Copy content via this buffer from the provided src conduit.

The src conduit has its content transferred through this buffer via a series of fill & drain operations, until there is no more content available. The buffer content should be explicitly flushed by the caller.

class BufferedOutput
final override
copy
(
InputStream src
,
size_t max = -1
)

Throws

an IOException on premature Eof.

Meta