MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / charToString

Method charToString

JUCE/modules/juce_core/text/juce_String.cpp:368–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

366String::String (StringRef s) : text (StringHolder::createFromCharPointer (s.text)) {}
367
368String 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//==============================================================================
378namespace NumberToStringConverters

Callers

nothing calls this directly

Calls 3

PreallocationBytesClass · 0.85
writeMethod · 0.45
writeNullMethod · 0.45

Tested by

no test coverage detected