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.UtilityAssembly: CryptSharp (in CryptSharp.dll) Version: 2.0.0.0
Syntax
public BaseEncoding( string characterSet, bool msbComesFirst, IDictionary<char, int> additionalDecodeCharacters, BaseEncodingDecodeFilterCallback decodeFilterCallback )
Parameters
- characterSet
- Type: System String
The characters of the encoding.
- msbComesFirst
- Type: System Boolean
true to begin with the most-significant bit of each byte. Otherwise, the encoding begins with the least-significant bit.
- additionalDecodeCharacters
- Type: System.Collections.Generic IDictionary Char, Int32
A dictionary of alias characters, or null if no aliases are desired.
- decodeFilterCallback
- Type: CryptSharp.Utility BaseEncodingDecodeFilterCallback
A callback to map arbitrary characters onto the characters that can be decoded.
See Also