Method LengthInUtf8Bytes
LengthInUtf8Bytes()
Returns the number of bytes required to encode this rune as UTF-8.
Declaration
public int LengthInUtf8Bytes()
Returns
Type | Description |
---|---|
int | The number of bytes required to encode this rune as UTF-8. If the rune's codepoint is invalid, returns 4 (the maximum possible encoding length). |