Open Rails

ByteEncoding.GetMaxCharCount Method

[This is preliminary documentation and subject to change.]

Calculates the maximum number of characters produced by decoding the specified number of bytes.

public override int GetMaxCharCount(
   int byteCount
);

Parameters

byteCount
The number of bytes to decode.

Return Value

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

See Also

ByteEncoding Class | ORTS.IO Namespace