Click or drag to resize

SocketTransportReadAsync Method (Byte, Int32)

Reads data from the underlying stream

Namespace:  Crosser.Server.Modules.Transport
Assembly:  Crosser.Server (in Crosser.Server.dll) Version: 0.0.5
Syntax
C#
public override Task<int> ReadAsync(
	byte[] buffer,
	int offset = 0
)

Parameters

buffer
Type: SystemByte
The buffer to read into
offset (Optional)
Type: SystemInt32
Offset in the write buffer (where to start writing)

Return Value

Type: TaskInt32

Implements

IBaseTransportReadAsync(Byte, Int32)
See Also