Click or drag to resize

ILengthEncodedExtensionsDecode Method

Decodes length-encoded data. Returns encoded data bytes and encoding size.

Namespace:  Demo3D.HLE.Comms.Telegram
Assembly:  Demo3D.HLE (in Demo3D.HLE.dll) Version: 15.0.2.11458
Syntax
C#
public static BufferSegment Decode(
	this ILengthEncoded lengthEncoded,
	BufferSegment data
)

Parameters

lengthEncoded
Type: Demo3D.HLE.Comms.TelegramILengthEncoded
data
Type: Demo3D.IOBufferSegment
Data to decode.

Return Value

Type: BufferSegment
Length-decoded data.

Usage Note

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