Click or drag to resize

StreamTransportReadAsync Method (Byte, Int32, 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,
	int length
)

Parameters

buffer
Type: SystemByte
The buffer to read into
offset
Type: SystemInt32
Offset in the write buffer (where to start writing)
length
Type: SystemInt32
Number of bytes to read

Return Value

Type: TaskInt32

Implements

IBaseTransportReadAsync(Byte, Int32, Int32)
IBaseTransportReadAsync(Byte, Int32, Int32)
See Also