BaseEncoding MethodsCryptSharp
The BaseEncoding type exposes the following members.
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
See Also