Click or drag to resize

BaseTransportWriteAsync Method (Byte, Int32, Int32, Boolean)

Overwrite this in your custom transport to write to the transport

Namespace:  Crosser.Server.Modules.Transport
Assembly:  Crosser.Server (in Crosser.Server.dll) Version: 0.0.5
Syntax
C#
public abstract Task WriteAsync(
	byte[] buffer,
	int offset,
	int length,
	bool flush = false
)

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

Implements

IBaseTransportWriteAsync(Byte, Int32, Int32, Boolean)
See Also