Click or drag to resize

PacketIOServiceWriteAsync Method (IPacketIOService, Byte, Int32, Int32)

Writes data.

Namespace:  Demo3D.Net
Assembly:  Demo3D.IO (in Demo3D.IO.dll) Version: 15.0.2.11458
Syntax
C#
public static Task WriteAsync(
	this IPacketIOService service,
	byte[] buffer,
	int offset,
	int length
)

Parameters

service
Type: Demo3D.NetIPacketIOService
The IPacketIOService.
buffer
Type: SystemByte
The data to write.
offset
Type: SystemInt32
The offset into buffer to write the data.
length
Type: SystemInt32
The number of bytes to write.

Return Value

Type: Task
Nothing.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IPacketIOService. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also