Crosser Technologies - Server
Crosser Technologies - Server
Namespaces
Crosser.Server Namespaces
Crosser.Server.Modules Namespaces
Crosser.Server.Modules.Transport
BaseTransport Class
BaseTransport Methods
ReadAsync Method
ReadAsync Method (Byte[], Int32)
ReadAsync Method (Byte[], Int32, Int32)
BaseTransport
ReadAsync Method (
Byte
, Int32, Int32)
Overwrite this in your custom transport to read from the transport
Namespace:
Crosser.Server.Modules.Transport
Assembly:
Crosser.Server (in Crosser.Server.dll) Version: 0.0.5
Syntax
C#
Copy
public
abstract
Task
<
int
>
ReadAsync
(
byte
[]
buffer
,
int
offset
,
int
length
)
Parameters
buffer
Type:
System
Byte
The buffer to write into
offset
Type:
System
Int32
Position to start writing on in the buffer
length
Type:
System
Int32
The maximum length to read from the transport
Return Value
Type:
Task
Int32
Task with the number of bytes that was written into the buffer
Implements
IBaseTransport
ReadAsync(
Byte
, Int32, Int32)
See Also
Reference
BaseTransport Class
ReadAsync Overload
Crosser.Server.Modules.Transport Namespace