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