AltEncoding class

Represents a custom encoding that extends the base Encoding class, providing additional functionality for transforming data.

Namespace: ASNA.DataGate.DataLink.Text Assembly: ASNA.QSys.DataGate.Client.dll

Inheritance: Object –> Encoding

Constructors

Name Description
AltEncoding() Initializes a new instance of the class with default encoder and decoder properties.

Properties

Type Name Description
IEnumerable<AltEncodingInfo> AvailableEncodings Gets a list of all available AltEncoding objects.
ITransformProperties DecoderDefaultProps Gets or sets the default properties for the decoder.
ITransformProperties EncoderDefaultProps Gets or sets the default properties for the encoder.

Methods

Signature Description
DictionaryFromITransformProps(ITransformProperties) Converts the given ITransformProperties object into a dictionary.
Equal(ITransformProperties, ITransformProperties) Compares two ITransformProperties objects for equality.
GetAltDecoder(ITransformProperties) Returns an AltDecoder object for this AltEncoding, using the specified properties.
GetAltEncoder(ITransformProperties) Returns an AltEncoder object for this AltEncoding, using the specified properties.
GetAltEncoding(String) Returns an AltEncoding object for the specified name.
GetAltEncodingInfo() Gets information about the current AltEncoding instance.
GetDecoder() Returns an AltDecoder object for this AltEncoding, using the default properties.
GetDecoderImpl() When overridden in a derived class, returns an AltDecoder object for this AltEncoding.
GetEncoder() Returns an AltEncoder object for this AltEncoding, using the default properties.
GetEncoderImpl() When overridden in a derived class, returns an AltEncoder object for this AltEncoding.
TransformPropertiesFromDictionary(Dictionary<String, Object>) Converts the given dictionary into an ITransformProperties object.
TransformPropertiesFromStream(BinaryReader) When overridden in a derived class, reads the given BinaryReader stream and converts it into an ITransformProperties object.
TransformPropertiesToStream(ITransformProperties, BinaryWriter) When overridden in a derived class, writes the given ITransformProperties object to the specified BinaryWriter stream.