BasePropertyDecode Method

This method is used to decode a value read in from a PDI data stream

Definition

Namespace: EWSoftware.PDI.Properties
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
public virtual string Decode(
	string data
)

Parameters

data  String
The data string to decode

Return Value

String
The decoded data

Remarks

By default, it can handle Base 64 and Quoted-Printable decoding. For 7-bit and 8-bit decoding, it will unescape characters where necessary. The method used depends on the current setting of the Encoding property. It can be overridden to support other types of decoding.

For vCard 2.1 and vCalendar 1.0 properties, if a CharacterSet parameter has been specified, the value is converted from the specified character set to the one specified by the DefaultEncoding property after decoding.

See Also