Click or drag to resize

AlignmentSequential64 Class

A class to help with sequential field memory layout / alignment. Aligns bits, bytes, Int16 and Int32 on their respective boundaries, and larger types on 64-bit boundaries.
Inheritance Hierarchy
SystemObject
  Demo3D.PLC.CommsAlignment
    Demo3D.PLC.CommsAlignmentSequential
      Demo3D.PLC.CommsAlignmentSequential64

Namespace: Demo3D.PLC.Comms
Assembly: PLC (in PLC.dll) Version: 19.00.00
Syntax
C#
public sealed class Sequential64 : AlignmentSequential

The AlignmentSequential64 type exposes the following members.

Constructors
 NameDescription
Public methodAlignmentSequential64 Aligns bits, bytes, Int16 and Int32 on their respective boundaries, and larger types on 64-bit boundaries.
Top
Properties
 NameDescription
Public propertyAlignmentRules A list of rules on how to align fields in memory.
(Inherited from AlignmentSequential)
Top
Methods
 NameDescription
Public methodAdd(Int32, Int32) Returns the offset of a new field of a specified size.
(Inherited from Alignment)
Public methodAdd(Int64, Int64) Returns the offset of a new field of a specified size.
(Inherited from AlignmentSequential)
Public methodGetSubAlignment Return a new Alignment object for aligning sub-elements.
(Inherited from AlignmentSequential)
Top
See Also