shadow:io
interface CanWrite
Interface CanWrite specifies that a class can write data from an array of ubyte values. This operation is usually applied to files, streams, network connections, and similar I/O abstractions.
CanWrite
ubyte
public
(long)
write(ubyte[] buffer, long bytes)
Method called to write data.
public write(ubyte[] buffer, long bytes) => (long)
buffer - array of ubyte values to write data from
buffer
bytes - total number of bytes to write
bytes
number of ubyte values successfully written