Click or drag to resize

AlignmentSequentialAdd(Int64, Int64) Method

Returns the offset of a new field of a specified size.

Namespace: Demo3D.PLC.Comms
Assembly: PLC (in PLC.dll) Version: 19.00.00
Syntax
C#
public override sealed long Add(
	long fieldOffsetBits,
	long fieldSizeBits
)

Parameters

fieldOffsetBits  Int64
The offset of the field being added (or -1 to automatically align).
fieldSizeBits  Int64
The size of the field being added (0 to align the next element to the largest boundary, or -1 if unknown).

Return Value

Int64
The offset of the added field (or -1 if it can't be determined).
See Also