BufferedInput.drain

Drain buffer content to the specific conduit.

class BufferedInput
final
drain
(
OutputStream dst
)

Return Value

Type: size_t

Returns the number of bytes written, or Eof.

Remarks: 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