Method GetEncodingLength
GetEncodingLength(Rune, Encoding)
Get number of bytes required to encode the rune, based on the provided encoding.
public static int GetEncodingLength(this Rune rune, Encoding encoding = null)
Parameters
Returns
- int
The number of bytes required.
Remarks
This is a Terminal.Gui extension method to Rune to support TUI text manipulation.