BaseEncoding GetMaxByteCount Method CryptSharp
When overridden in a derived class, calculates the maximum number of bytes produced by encoding the specified number of characters.

Namespace: CryptSharp.Utility
Assembly: CryptSharp (in CryptSharp.dll) Version: 2.0.0.0
Syntax

public override int GetMaxByteCount(
	int charCount
)

Parameters

charCount
Type: OnlineSystem Int32
The number of characters to encode.

Return Value

The maximum number of bytes produced by encoding the specified number of characters.
Exceptions

See Also