Click or drag to resize

AlignmentPacked Class

A class to help with sequential field memory layout / alignment. Aligns bits on bit boundaries, and all else on byte boundaries.
Inheritance Hierarchy
SystemObject
  Demo3D.PLC.CommsAlignment
    Demo3D.PLC.CommsAlignmentSequential
      Demo3D.PLC.CommsAlignmentPacked

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

The AlignmentPacked type exposes the following members.

Constructors
 NameDescription
Public methodAlignmentPacked Aligns bits on bit boundaries, and all else on byte 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