MCPcopy Create free account
hub / github.com/Tracktion/choc / insertChar

Method insertChar

choc/text/choc_FloatToString.h:203–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201 }
202
203 static void insertChar (char* dest, uint32_t length, char charToInsert, uint32_t numRepetitions)
204 {
205 std::memmove (dest + numRepetitions, dest, (size_t) length);
206
207 for (uint32_t i = 0; i < numRepetitions; ++i)
208 dest[i] = charToInsert;
209 }
210
211 static char* writeAsExponentNotation (char* dest, uint32_t totalLength, int exponent)
212 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected