Stream.read

Reads bytes from the stream into the provided array and returns without any further waiting, at most the number of bytes read will be the length of the provided array, at minimum a single byte

interface Stream
public
ulong
read
(
byte[] toArray
)

Parameters

toArray byte[]

the buffer to read into

Return Value

Type: ulong

the number of bytes read

Meta