Encodes the specified range of a System.String into the specified range of a byte array.

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

Syntax

C#
public override int GetChars(
	byte[] bytes,
	int byteIndex,
	int byteCount,
	char[] chars,
	int charIndex
)
Visual Basic
Public Overrides Function GetChars ( _
	bytes As Byte(), _
	byteIndex As Integer, _
	byteCount As Integer, _
	chars As Char(), _
	charIndex As Integer _
) As Integer
Visual C++
public:
virtual int GetChars(
	array<unsigned char>^ bytes, 
	int byteIndex, 
	int byteCount, 
	array<wchar_t>^ chars, 
	int charIndex
) override

Parameters

bytes
Type: array<System..::..Byte>[]()[][]
The byte array to decode.
byteIndex
Type: System..::..Int32
The starting index of the byte array to decode.
byteCount
Type: System..::..Int32
The number of bytes to decode.
chars
Type: array<System..::..Char>[]()[][]
The character array where the resulting decoding is stored.
charIndex
Type: System..::..Int32
The starting index of the resulting decoding in the character array.

Return Value

The number of characters stored in the character array.

See Also