get_char_bytes
- Синтаксис
-
native get_char_bytes(const source[]);
Переменная | Описание |
---|---|
source |
Source input string. |
- Описание
- Returns the number of bytes a character is using. This is for multi-byte characters (UTF-8). For normal ASCII characters, this will return 1.
- Пометка
-
Only available in 1.8.3 and above.
- Возвращает
- Number of bytes the current character uses.