BufferedInput.drain

Drain buffer content to the specific conduit.

class BufferedInput
final
size_t
drain
(
OutputStream dst
)

Return Value

Type: size_t

the number of bytes written, or Eof.

Note: 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.

Meta