Click or drag to resize

MessageServiceRead Method

Reads data.

Namespace:  Demo3D.Net
Assembly:  Demo3D.IO (in Demo3D.IO.dll) Version: 15.0.2.11458
Syntax
C#
public static Message Read(
	this IMessageStreamService service,
	 in ArraySegment<byte> buffer
)

Parameters

service
Type: Demo3D.NetIMessageStreamService
The IMessageStreamService.
buffer
Type: SystemArraySegmentByte
Buffer to receive data.

Return Value

Type: Message
The next message.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IMessageStreamService. 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