| 909 | } |
| 910 | |
| 911 | const wchar_t* UTF16String::c_str() const |
| 912 | { |
| 913 | if (mVals == NULL) |
| 914 | return L""; |
| 915 | mVals[mSize - 1] = 0; // Re-terminate in case we modified the string |
| 916 | return (wchar_t*)mVals; |
| 917 | } |
| 918 | |
| 919 | size_t UTF16String::length() const |
| 920 | { |
no outgoing calls