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
Syntaxpublic override int GetBytes(
char[] chars,
int charIndex,
int charCount,
byte[] bytes,
int byteIndex
)
Public Overrides Function GetBytes (
chars As Char(),
charIndex As Integer,
charCount As Integer,
bytes As Byte(),
byteIndex As Integer
) As Integer
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:
Int32The actual number of bytes written into bytes.
See Also