MCPcopy Create free account
hub / github.com/Illumina/hap.py / uintToString

Function uintToString

external/jsoncpp/jsoncpp.cpp:144–150  ·  view source on GitHub ↗

Converts an unsigned integer to string. * @param value Unsigned interger 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

142 * Must have at least uintToStringBufferSize chars free.
143 */
144static inline void uintToString(LargestUInt value, char *&current) {
145 *--current = 0;
146 do {
147 *--current = char(value % 10) + '0';
148 value /= 10;
149 } while (value != 0);
150}
151
152/** Change ',' to '.' everywhere in buffer.
153 *

Callers 1

valueToStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected