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