MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / UTF16BytesCheck

Function UTF16BytesCheck

src/String.cpp:112–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112inline static int UTF16BytesCheck(int ch)
113{
114 if (ch>=0x10000)
115 {
116 if (ch<0x110000)
117 return 2;
118 }
119 return 1;
120}
121
122static void UTF8EncodeAdvance(char * &ioPtr,int c)
123{

Callers 4

TCopyStringFunction · 0.85
fromCharCodeMethod · 0.85
_hx_utf8_to_utf16Function · 0.85
wc_strMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected