Skip to content

raylib.GetCodepointNext

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Get next codepoint in a byte sequence and bytes processed

Parameters

Parameter Default Value Note
text
codepointSize null

Return value

Condition Return Value
(always) map

Notes

Example

// 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

Clone this wiki locally