SockStream.read

Reads bytes from the socket 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

class SockStream
public override
ulong
read
(
byte[] toArray
)

Parameters

toArray byte[]

the buffer to read into

Return Value

Type: ulong

the number of bytes read

Meta