MCPcopy Create free account
hub / github.com/cinder/Cinder / uintToString

Function uintToString

src/jsoncpp/jsoncpp.cpp:145–151  ·  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

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

Callers 1

valueToStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected