BaseEncoding GetByteCount Method CryptSharp
When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters from the specified character array.

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

public override int GetByteCount(
	char[] chars,
	int index,
	int count
)

Parameters

chars
Type:  OnlineSystem Char 
The character array containing the set of characters to encode.
index
Type: OnlineSystem Int32
The index of the first character to encode.
count
Type: OnlineSystem Int32
The number of characters to encode.

Return Value

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

See Also