The BaseEncoding type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
BaseEncoding(String, Boolean) |
Defines a binary-to-text encoding.
| |
BaseEncoding(String, Boolean, IDictionary Char, Int32 , BaseEncodingDecodeFilterCallback) |
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.
|
Methods
Name | Description | |
---|---|---|
GetByteCount | When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters from the specified character array. (Overrides Encoding GetByteCount( Char , Int32, Int32).) | |
GetBytes( Char , Int32, Int32, Byte , Int32) | When overridden in a derived class, encodes a set of characters from the specified character array into the specified byte array. (Overrides Encoding GetBytes( Char , Int32, Int32, Byte , Int32).) | |
GetBytes( Char , Int32, Int32, Byte , Int32, Int32) |
Converts characters from their text representation to a binary representation.
| |
GetChar |
Gets the character corresponding to the specified value.
| |
GetCharCount | When overridden in a derived class, calculates the number of characters produced by decoding a sequence of bytes from the specified byte array. (Overrides Encoding GetCharCount( Byte , Int32, Int32).) | |
GetChars( Byte , Int32, Int32, Char , Int32) | When overridden in a derived class, decodes a sequence of bytes from the specified byte array into the specified character array. (Overrides Encoding GetChars( Byte , Int32, Int32, Char , Int32).) | |
GetChars( Byte , Int32, Int32, Char , Int32, Int32) |
Converts bytes from their binary representation to a text representation.
| |
GetMaxByteCount | When overridden in a derived class, calculates the maximum number of bytes produced by encoding the specified number of characters. (Overrides Encoding GetMaxByteCount(Int32).) | |
GetMaxCharCount | When overridden in a derived class, calculates the maximum number of characters produced by decoding the specified number of bytes. (Overrides Encoding GetMaxCharCount(Int32).) | |
GetValue |
Gets the value corresponding to the specified character.
|
Properties
Name | Description | |
---|---|---|
BitMask |
The bit mask for a single character in the current encoding.
| |
BitsPerCharacter |
The number of bits per character in the current encoding.
| |
MsbComesFirst | true if the encoding begins with the most-significant bit of each byte.
Otherwise, the encoding begins with the least-significant bit.
|
See Also