Click or drag to resize

IBaseTransportWriteAsync Method (Byte, Int32, Int32, Boolean)

Write bytes to the underlying transport

Namespace:  Crosser.Common.Server.Transport
Assembly:  Crosser.Common (in Crosser.Common.dll) Version: 0.0.4
Syntax
C#
Task WriteAsync(
	byte[] buffer,
	int offset,
	int length,
	bool flush = true
)

Parameters

buffer
Type: SystemByte
The buffer to write into
offset
Type: SystemInt32
Position to start writing on in the buffer
length
Type: SystemInt32
The maximum length to read from the transport
flush (Optional)
Type: SystemBoolean
True to force a flush on the transport

Return Value

Type: Task
Task
See Also