ASCIIEncoding GetByteCount Method ( Char , Int32, Int32)SSH .NET Client Library Documentation
Calculates the number of bytes produced by encoding a set of characters from the specified character array.

Namespace: Renci.SshNet.Common
Assembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.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