dil ~master (2015-07-05T21:12:10Z)
Home
Dub
Repo
utf16Error
dil
Unicode
Returns the precise error in a UTF-16 sequence.
UTF16Error
utf16Error
(
cwstring
s
,
ref
size_t
i
)
UTF16Error
utf16Error
(
ref
cwchar
*
p
,
cwchar
*
end
)
UTF16Error
utf16Error
(
ref
cwchar
*
p
,
cwchar
*
end
)
in { auto p_ = p; assert (decode(p_, end) == ERROR_CHAR); }
Meta
Source
See Implementation
dil
Unicode
aliases
toUTF16
toUTF32
toUTF8
enums
UTF16Error
UTF8Error
functions
convertString
decode
decodeUnicodeAlpha
encode
isLeadByte
isNoncharacter
isTrailByte
isUnicodeAlpha
isValidChar
isValidLead
scanUnicodeAlpha
utf16Error
utf8Error
variables
ERROR_CHAR
REPLACEMENT_CHAR
REPLACEMENT_STR
Returns the precise error in a UTF-16 sequence.