BaseEncoding Constructor (String, Boolean, IDictionaryChar, Int32, BaseEncodingDecodeFilterCallback) | CryptSharp |
Defines a binary-to-text encoding.
Additional decode characters let you add aliases, and a filter callback can be used
to make decoding case-insensitive among other things.
Namespace: CryptSharp.Utility
Assembly: CryptSharp (in CryptSharp.dll) Version: 2.1.0.0
Syntax
public BaseEncoding( string characterSet, bool msbComesFirst, IDictionary<char, int> additionalDecodeCharacters, BaseEncodingDecodeFilterCallback decodeFilterCallback )
Public Sub New ( characterSet As String, msbComesFirst As Boolean, additionalDecodeCharacters As IDictionary(Of Char, Integer), decodeFilterCallback As BaseEncodingDecodeFilterCallback )
public: BaseEncoding( String^ characterSet, bool msbComesFirst, IDictionary<wchar_t, int>^ additionalDecodeCharacters, BaseEncodingDecodeFilterCallback^ decodeFilterCallback )
new : characterSet : string * msbComesFirst : bool * additionalDecodeCharacters : IDictionary<char, int> * decodeFilterCallback : BaseEncodingDecodeFilterCallback -> BaseEncoding
Parameters
- characterSet
- Type: SystemString
The characters of the encoding. - msbComesFirst
- Type: SystemBoolean
true to begin with the most-significant bit of each byte. Otherwise, the encoding begins with the least-significant bit. - additionalDecodeCharacters
- Type: System.Collections.GenericIDictionaryChar, Int32
A dictionary of alias characters, or null if no aliases are desired. - decodeFilterCallback
- Type: CryptSharp.UtilityBaseEncodingDecodeFilterCallback
A callback to map arbitrary characters onto the characters that can be decoded.
See Also