MCPcopy Create free account
hub / github.com/dirkvranckaert/AndroidDecompiler / utf16len

Method utf16len

astyle/src/astyle_main.cpp:2739–2745  ·  view source on GitHub ↗

LINUX function to return the length of a utf-16 C string.

Source from the content-addressed store, hash-verified

2737
2738// LINUX function to return the length of a utf-16 C string.
2739size_t ASLibrary::utf16len(const utf16_t* utf16In) const
2740{
2741 size_t length = 0;
2742 while (*utf16In++ != '\0')
2743 length++;
2744 return length;
2745}
2746
2747#endif // _WIN32
2748#endif // ASTYLE_LIB

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected