MCPcopy Create free account
hub / github.com/Illumina/paragraph / uintToString

Function uintToString

external/jsoncpp/jsoncpp.cpp:164–170  ·  view source on GitHub ↗

Converts an unsigned integer to string. * @param value Unsigned integer to convert to string * @param current Input/Output string buffer. * Must have at least uintToStringBufferSize chars free. */

Source from the content-addressed store, hash-verified

162 * Must have at least uintToStringBufferSize chars free.
163 */
164static inline void uintToString(LargestUInt value, char*& current) {
165 *--current = 0;
166 do {
167 *--current = static_cast<char>(value % 10U + static_cast<unsigned>('0'));
168 value /= 10;
169 } while (value != 0);
170}
171
172/** Change ',' to '.' everywhere in buffer.
173 *

Callers 1

valueToStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected