Crosser Technologies - Server
Crosser Technologies - Server
Namespaces
Crosser.Server Namespaces
Crosser.Server.Modules Namespaces
Crosser.Server.Modules.Transport
SocketTransport Class
SocketTransport Methods
ReadAsync Method
ReadAsync Method (Byte[], Int32)
ReadAsync Method (Byte[], Int32, Int32)
SocketTransport
ReadAsync 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#
Copy
public
override
Task
<
int
>
ReadAsync
(
byte
[]
buffer
,
int
offset
,
int
length
)
Parameters
buffer
Type:
System
Byte
The buffer to read into
offset
Type:
System
Int32
Offset in the write buffer (where to start writing)
length
Type:
System
Int32
Number of bytes to read
Return Value
Type:
Task
Int32
Implements
IBaseTransport
ReadAsync(
Byte
, Int32, Int32)
See Also
Reference
SocketTransport Class
ReadAsync Overload
Crosser.Server.Modules.Transport Namespace