Click or drag to resize

USEncodingGetBytes Method (Char, Int32, Int32, Byte, Int32)

Encodes a set of characters from the specified character array into the specified byte array.

Namespace:  Zyrenth.Zora
Assembly:  ZoraSharp (in ZoraSharp.dll) Version: 2.3
Syntax
public override int GetBytes(
	char[] chars,
	int charIndex,
	int charCount,
	byte[] bytes,
	int byteIndex
)

Parameters

chars
Type: SystemChar
The character array containing the set of characters to encode.
charIndex
Type: SystemInt32
The index of the first character to encode.
charCount
Type: SystemInt32
The number of characters to encode.
bytes
Type: SystemByte
The byte array to contain the resulting sequence of bytes.
byteIndex
Type: SystemInt32
The index at which to start writing the resulting sequence of bytes.

Return Value

Type: Int32
The actual number of bytes written into bytes.
See Also