Click or drag to resize

LengthEncodedSegment Class

Defines a length-encoded TelegramFormatSegment.
Inheritance Hierarchy

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

The LengthEncodedSegment type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyEncoding
Segment encoding.
(Inherited from TelegramFormatSegment.)
Public propertyEncodingProperties
Segment encoding type.
(Inherited from TelegramFormatSegment.)
Public propertyLength
Segment byte length.
(Overrides TelegramFormatSegmentLength.)
Public propertyLengthEncoding
Segment length encoding type.
Public propertyName
Segment name.
(Inherited from TelegramFormatSegment.)
Public propertyType
Segment type.
(Inherited from TelegramFormatSegment.)
Top
Methods
Events
  NameDescription
Public eventPropertyChanged
Raised when a property changes.
(Inherited from TelegramFormatSegment.)
Top
Extension Methods
  NameDescription
Public Extension MethodDecode
Decodes length-encoded data. Returns encoded data bytes and encoding size.
(Defined by ILengthEncodedExtensions.)
Public Extension MethodEncode
Encodes data length. Length bytes are directly before data bytes.
(Defined by ILengthEncodedExtensions.)
Public Extension MethodGetLengthEncodingSize
Returns the length encoding byte size.
(Defined by ILengthEncodedExtensions.)
Top
Remarks

Segment byte length is always dynamic (-1).

See Also