| 366 | String::String (StringRef s) : text (StringHolder::createFromCharPointer (s.text)) {} |
| 367 | |
| 368 | String String::charToString (juce_wchar character) |
| 369 | { |
| 370 | String result (PreallocationBytes (CharPointerType::getBytesRequiredFor (character))); |
| 371 | CharPointerType t (result.text); |
| 372 | t.write (character); |
| 373 | t.writeNull(); |
| 374 | return result; |
| 375 | } |
| 376 | |
| 377 | //============================================================================== |
| 378 | namespace NumberToStringConverters |
nothing calls this directly
no test coverage detected