Click or drag to resize

IAlignedExtensionsAlign Method

Aligns data with fill bytes.

Namespace:  Demo3D.HLE.Comms.Telegram
Assembly:  Demo3D.HLE (in Demo3D.HLE.dll) Version: 15.0.2.11458
Syntax
C#
public static BufferSegment Align(
	this IAligned aligned,
	BufferSegment data,
	int remainder
)

Parameters

aligned
Type: Demo3D.HLE.Comms.TelegramIAligned
data
Type: Demo3D.IOBufferSegment
Unaligned data.
remainder
Type: SystemInt32
Remaining byte count.

Return Value

Type: BufferSegment
Aligned data.

Usage Note

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