Click or drag to resize

AlignmentSequential32 Class

A class to help with sequential field memory layout / alignment. Aligns bits, bytes, and Int16 on their respective boundaries, and larger types on 32-bit boundaries.
Inheritance Hierarchy

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

The AlignmentSequential32 type exposes the following members.

Constructors
  NameDescription
Public methodAlignmentSequential32
Aligns bits, bytes, and Int16 on their respective boundaries, and larger types on 32-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