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: 19.00.00
Syntax
C#
public static BufferSegment Align(
	this IAligned aligned,
	BufferSegment data,
	int remainder
)

Parameters

aligned  IAligned
data  BufferSegment
Unaligned data.
remainder  Int32
Remaining byte count.

Return Value

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