Stream.write

Writes bytes from the specified buffer in to the stream

Notes The position and length to write is specified by the slice of buffer. Use slicing operation to specify a range to write from.

class Stream
@nogc nothrow @safe abstract
ptrdiff_t
write
(
ubyte[] buffer
)

Return Value

Type: ptrdiff_t

The amount of bytes read from the stream, or a StreamError.

See Also

Meta