Array.read

Transfer content into the provided dst.

class Array
final override
read
(
void[] dst
)

Parameters

dst void[]

Destination of the content.

Return Value

Type: size_t

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

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

Meta