BufferedInput.fill

Fill the provided buffer

class BufferedInput
final
size_t
fill
(
void[] dst
,
bool exact = false
)

Parameters

dst void[]

Where data should be placed.

exact bool

Whether to throw an exception when dst is not filled (an Eof occurs first). Defaults to false.

Return Value

Type: size_t

the number of bytes actually read, which will be less than dst.length when Eof has been reached and Eof thereafter.

Meta