[This is preliminary documentation and is subject to change.]
Encodes a set of characters from the specified character array into the specified byte array.


- chars (array<Char>[]()[][])
- The character array containing the set of characters to encode.
- charIndex (Int32)
- The index of the first character to encode.
- charCount (Int32)
- The number of characters to encode.
- bytes (array<Byte>[]()[][])
- The byte array to contain the resulting sequence of bytes.
- byteIndex (Int32)
- The index at which to start writing the resulting sequence of bytes.

The actual number of bytes written into bytes.