Returns the number of bytes required to encode a range of characters in the specified character array.

Namespace: Jscape.Email
Assembly: Jscape.Email (in Jscape.Email.dll) Version: 2.4.5.0

Syntax

C#
public override int GetByteCount(
	char[] chars,
	int index,
	int count
)
Visual Basic
Public Overrides Function GetByteCount ( _
	chars As Char(), _
	index As Integer, _
	count As Integer _
) As Integer
Visual C++
public:
virtual int GetByteCount(
	array<wchar_t>^ chars, 
	int index, 
	int count
) override

Parameters

chars
Type: array<System..::..Char>[]()[][]
The character array to encode.
index
Type: System..::..Int32
The starting index of the character array to encode.
count
Type: System..::..Int32
The number of characters to encode.

Return Value

The number of bytes required to encode the specified range of characters.

See Also