LengthEncodedFormat Class |
Namespace: Demo3D.HLE.Comms.Telegram
[TypeConverterAttribute(typeof(ExpandableObjectConverter))] public sealed class LengthEncodedFormat : TelegramFormat, ILengthEncoded
The LengthEncodedFormat type exposes the following members.
| Name | Description | |
|---|---|---|
| LengthEncodedFormat |
FOR INTERNAL USE ONLY.
| |
| LengthEncodedFormat(String) |
Constructs a DelimitedFormat.
|
| Name | Description | |
|---|---|---|
| IgnoreLengthEncoding |
Set to ignore format length encoding.
| |
| IsBuilt |
True if the format has been built into a data type.
(Inherited from TelegramFormat.) | |
| Length |
Format byte length.
(Overrides TelegramFormatLength.) | |
| LengthEncoding |
Format length encoding type.
| |
| Logger |
Message logger.
(Inherited from TelegramFormat.) | |
| Name |
Format name.
(Inherited from TelegramFormat.) | |
| Segments |
List of TelegramFormatSegment in order.
(Inherited from TelegramFormat.) |
| Name | Description | |
|---|---|---|
| PropertyChanged |
Raised when a property changes.
(Inherited from TelegramFormat.) | |
| SegmentPropertyChanged |
Raised when the properties of a segment is changed.
(Inherited from TelegramFormat.) | |
| SegmentsChanged |
Raised when Segments has changed.
(Inherited from TelegramFormat.) |
| 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).
Can accept segments of type LengthEncodedSegment, AlignedSegment or FixedSegment.
Length-encoded by default, set IgnoreLengthEncoding to disable.