Handbook
Glossary
>codepoint-index ( str utf16-index -- codepoint-index )
Vocabulary
ui
.
backend
.
cocoa
.
views
.
private
Inputs
str
an
object
utf16-index
an
object
Outputs
codepoint-index
an
object
Definition
USING:
io.encodings.string
io.encodings.utf16
math
sequences
;
IN:
ui.backend.cocoa.views.private
::
>codepoint-index
( str utf16-index -- codepoint-index )
0 utf16-index 2
*
str
utf16n
encode
subseq
utf16n
decode
length
;