Click or drag to resize

AlignmentSequential16 Class

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

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

The AlignmentSequential16 type exposes the following members.

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