Array.write

Emulate OutputStream.write().

class Array
final override
write
(
const(void)[] src
)

Parameters

src const(void)[]

The content to write.

Return Value

Type: size_t

Return the number of bytes written, which may be less than provided (conceptually). Returns Eof when the buffer becomes full.

Remarks: Appends src content to the buffer, expanding as required if configured to do so (via the ctor).

Meta