tango ~master (2021-12-14T19:14:08.8989381)
Dub
Repo
toUTFindex
rt
compiler
util
utf
Given a UCS index n into an array of characters s[], return the UTF index.
size_t
toUTFindex
(char[] s, size_t n)
size_t
toUTFindex
(wchar[] s, size_t n)
size_t
toUTFindex
(dchar[] s, size_t n)
size_t
toUTFindex
(
in
dchar
[]
s
,
size_t
n
)
Meta
Source
See Implementation
rt
compiler
util
utf
aliases
wptr
functions
decode
encode
isValidDchar
onUnicodeError
stride
toUCSindex
toUTF16
toUTF16z
toUTF32
toUTF8
toUTFindex
validate
variables
UTF8stride
Given a UCS index n into an array of characters s[], return the UTF index.