IBaseTransportReadAsync Method (Byte, Int32) |
Read data from the transport into the buffer
Namespace:
Crosser.Common.Server.Transport
Assembly:
Crosser.Common (in Crosser.Common.dll) Version: 0.0.4
Syntax Task<int> ReadAsync(
byte[] buffer,
int offset = 0
)
Parameters
- buffer
- Type: SystemByte
The buffer to write into - offset (Optional)
- Type: SystemInt32
Position to start writing on in the buffer
Return Value
Type:
TaskInt32Task with the number of bytes that was written into the buffer
See Also