MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / wcharLen

Function wcharLen

source/core/StarString_windows.cpp:5–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3namespace Star {
4
5size_t wcharLen(WCHAR const* s) {
6 size_t size = 0;
7 while (*s) {
8 ++size;
9 ++s;
10 }
11 return size;
12}
13
14String utf16ToString(WCHAR const* s) {
15 if (!s)

Callers 1

utf16ToStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected