Open Rails

ByteEncoding.GetCharCount(Byte, Int32, Int32) Method

[This is preliminary documentation and subject to change.]

Calculates the number of characters produced by decoding a sequence of bytes from the specified byte array.

public override int GetCharCount(
   byte[] bytes,
   int index,
   int count
);

Parameters

bytes
The byte array containing the sequence of bytes to decode.
index
The index of the first byte to decode.
count
The number of bytes to decode.

Return Value

The number of characters produced by decoding the specified sequence of bytes.

See Also

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