Click or drag to resize

AlignedSegment Class

Defines a TelegramFormatSegment where data is aligned with fixed byte length.
Inheritance Hierarchy
SystemObject
  Demo3D.HLE.Comms.TelegramTelegramFormatSegment
    Demo3D.HLE.Comms.TelegramAlignedSegment

Namespace:  Demo3D.HLE.Comms.Telegram
Assembly:  Demo3D.HLE (in Demo3D.HLE.dll) Version: 18.03.00
Syntax
C#
[TypeConverterAttribute(typeof(ExpandableObjectConverter))]
public sealed class AlignedSegment : TelegramFormatSegment, 
	IAligned

The AlignedSegment type exposes the following members.

Constructors
  NameDescription
Public methodAlignedSegment
Constructs a FixedSegment.
Top
Properties
  NameDescription
Public propertyAlignment
Alignment type.
Public propertyEncoding
Segment encoding.
(Inherited from TelegramFormatSegment.)
Public propertyEncodingProperties
Segment encoding type.
(Inherited from TelegramFormatSegment.)
Public propertyFill
Fill byte.
Public propertyLength
Segment byte length.
(Overrides TelegramFormatSegmentLength.)
Public propertyName
Segment name.
(Inherited from TelegramFormatSegment.)
Public propertyType
Segment type.
(Overrides TelegramFormatSegmentType.)
Top
Methods
Events
  NameDescription
Public eventPropertyChanged
Raised when a property changes.
(Inherited from TelegramFormatSegment.)
Top
Extension Methods
  NameDescription
Public Extension MethodAlign
Aligns data with fill bytes.
(Defined by IAlignedExtensions.)
Public Extension MethodUnalign
Unaligns data. Returns data with fill bytes removed.
(Defined by IAlignedExtensions.)
Top
Remarks

Length must be equal or greater the base length of the segment type. Higher length results in data alignment.

See Also