-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.GetCodepointNext
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Get next codepoint in a byte sequence and bytes processed
| Parameter | Default Value | Note |
|---|---|---|
| text | ||
| codepointSize | null |
| Condition | Return Value |
|---|---|
| (always) | map |
// Walk through codepoints in a UTF-8 string
text = "Hi!"
result = raylib.GetCodepointNext(text, null)
print result.codepoint // 72 (= 'H')
print result.advance // number of bytes consumed