BaseEncoding MembersCryptSharp

The BaseEncoding type exposes the following members.
Constructors

  NameDescription
Public methodBaseEncoding(String, Boolean)
Defines a binary-to-text encoding.
Public methodBaseEncoding(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.
Back to Top
Methods

  NameDescription
Public methodGetByteCount
When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters from the specified character array.
(Overrides OnlineEncoding GetByteCount( Char , Int32, Int32).)
Public methodGetBytes( 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 OnlineEncoding GetBytes( Char , Int32, Int32,  Byte , Int32).)
Public methodGetBytes( Char , Int32, Int32,  Byte , Int32, Int32)
Converts characters from their text representation to a binary representation.
Public methodGetChar
Gets the character corresponding to the specified value.
Public methodGetCharCount
When overridden in a derived class, calculates the number of characters produced by decoding a sequence of bytes from the specified byte array.
(Overrides OnlineEncoding GetCharCount( Byte , Int32, Int32).)
Public methodGetChars( 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 OnlineEncoding GetChars( Byte , Int32, Int32,  Char , Int32).)
Public methodGetChars( Byte , Int32, Int32,  Char , Int32, Int32)
Converts bytes from their binary representation to a text representation.
Public methodGetMaxByteCount
When overridden in a derived class, calculates the maximum number of bytes produced by encoding the specified number of characters.
(Overrides OnlineEncoding GetMaxByteCount(Int32).)
Public methodGetMaxCharCount
When overridden in a derived class, calculates the maximum number of characters produced by decoding the specified number of bytes.
(Overrides OnlineEncoding GetMaxCharCount(Int32).)
Public methodGetValue
Gets the value corresponding to the specified character.
Back to Top
Properties

  NameDescription
Public propertyBitMask
The bit mask for a single character in the current encoding.
Public propertyBitsPerCharacter
The number of bits per character in the current encoding.
Public propertyMsbComesFirst
true if the encoding begins with the most-significant bit of each byte. Otherwise, the encoding begins with the least-significant bit.
Back to Top
See Also