BufferedInput.read

Transfer content into the provided dst.

Populates the provided array with content. We try to satisfy the request from the buffer content, and read directly from an attached conduit when the buffer is empty.

class BufferedInput
final override
size_t
read
(
void[] dst
)

Parameters

dst void[]

Destination of the content.

Return Value

Type: size_t

the number of bytes read, which may be less than dst.length. Eof is returned when no further content is available.

Meta