Click or drag to resize

LengthEncodedSegment Class

Defines a length-encoded TelegramFormatSegment.
Inheritance Hierarchy
SystemObject
  Demo3D.HLE.Comms.TelegramTelegramFormatSegment
    Demo3D.HLE.Comms.TelegramLengthEncodedSegment

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

The LengthEncodedSegment type exposes the following members.

Constructors
 NameDescription
Public methodLengthEncodedSegment Constructs a DelimitedSegment.
Top
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
 NameDescription
Public methodProcessInboundTelegramSegment Processes an inbound telegram segment.
(Overrides TelegramFormatSegmentProcessInboundTelegramSegment(BufferSegment))
Public methodProcessOutboundTelegramSegment Processes an outbound telegram segment.
(Overrides TelegramFormatSegmentProcessOutboundTelegramSegment(BufferSegment))
Public methodToStringReturns a string that represents the current object.
(Inherited from TelegramFormatSegment)
Top
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