LengthEncodedSegment Class |
Namespace: Demo3D.HLE.Comms.Telegram
[TypeConverterAttribute(typeof(ExpandableObjectConverter))] public sealed class LengthEncodedSegment : TelegramFormatSegment, ILengthEncoded
The LengthEncodedSegment type exposes the following members.
| Name | Description | |
|---|---|---|
| LengthEncodedSegment |
FOR INTERNAL USE ONLY.
| |
| LengthEncodedSegment(String) |
Constructs a DelimitedSegment.
|
| Name | Description | |
|---|---|---|
| Encoding |
Segment encoding.
(Inherited from TelegramFormatSegment.) | |
| EncodingProperties |
Segment encoding type.
(Inherited from TelegramFormatSegment.) | |
| Length |
Segment byte length.
(Overrides TelegramFormatSegmentLength.) | |
| LengthEncoding |
Segment length encoding type.
| |
| Name |
Segment name.
(Inherited from TelegramFormatSegment.) | |
| Type |
Segment type.
(Inherited from TelegramFormatSegment.) |
| Name | Description | |
|---|---|---|
| ProcessInboundTelegramSegment |
Processes an inbound telegram segment.
(Overrides TelegramFormatSegmentProcessInboundTelegramSegment(BufferSegment).) | |
| ProcessOutboundTelegramSegment |
Processes an outbound telegram segment.
(Overrides TelegramFormatSegmentProcessOutboundTelegramSegment(BufferSegment).) | |
| ToString | Returns a string that represents the current object. (Inherited from TelegramFormatSegment.) |
| Name | Description | |
|---|---|---|
| PropertyChanged |
Raised when a property changes.
(Inherited from TelegramFormatSegment.) |
| Name | Description | |
|---|---|---|
| Decode |
Decodes length-encoded data. Returns encoded data bytes and encoding size.
(Defined by ILengthEncodedExtensions.) | |
| Encode |
Encodes data length. Length bytes are directly before data bytes.
(Defined by ILengthEncodedExtensions.) | |
| GetLengthEncodingSize |
Returns the length encoding byte size.
(Defined by ILengthEncodedExtensions.) |
Segment byte length is always dynamic (-1).