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