Open Rails

ByteEncoding.GetChars(Byte, Int32, Int32, Char, Int32) Method

[This is preliminary documentation and subject to change.]

Decodes a sequence of bytes from the specified byte array into the specified character array.

public override int GetChars(
   byte[] bytes,
   int byteIndex,
   int byteCount,
   char[] chars,
   int charIndex
);

Parameters

bytes
The byte array containing the sequence of bytes to decode.
byteIndex
The index of the first byte to decode.
byteCount
The number of bytes to decode.
chars
The character array to contain the resulting set of characters.
charIndex
The index at which to start writing the resulting set of characters.

Return Value

The actual number of characters written into chars.

See Also

ByteEncoding Class | ORTS.IO Namespace | ByteEncoding.GetChars Overload List