Pipe.write

SendResult write(scope const(ubyte)[] data) @trusted

Write bytes to the pipe (write end only).

Data is copied into an internal send queue (Copy semantics). The caller may reuse or free the buffer immediately.

Parameters

dataBytes to write.

Returns

Result indicating success, partial write, backpressure, or error.