BufferedOutput.drain

Drain buffer content to the specific conduit.

Write as much of the buffer that the associated conduit can consume. The conduit is not obliged to consume all content, so some may remain within the buffer.

class BufferedOutput
final
size_t
drain
(
OutputStream dst
)

Return Value

Type: size_t

the number of bytes written, or Eof.

Meta