AlignmentSequentialAdd Method (Int64, Int64) |
Returns the offset of a new field of a specified size.
Namespace:
Demo3D.PLC.Comms
Assembly:
PLC (in PLC.dll) Version: 15.0.2.11458
Syntaxpublic override sealed long Add(
long fieldOffsetBits,
long fieldSizeBits
)
Parameters
- fieldOffsetBits
- Type: SystemInt64
The offset of the field being added (or -1 to automatically align). - fieldSizeBits
- Type: SystemInt64
The size of the field being added (0 to align the next element to the largest boundary, or -1 if unknown).
Return Value
Type:
Int64The offset of the added field (or -1 if it can't be determined).
See Also