Open Rails

ByteEncoding.GetMaxByteCount Method

[This is preliminary documentation and subject to change.]

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

public override int GetMaxByteCount(
   int charCount
);

Parameters

charCount
The number of characters to encode.

Return Value

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

See Also

ByteEncoding Class | ORTS.IO Namespace