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. */
| 147 | * Must have at least uintToStringBufferSize chars free. |
| 148 | */ |
| 149 | static inline void uintToString(LargestUInt value, char*& current) { |
| 150 | *--current = 0; |
| 151 | do { |
| 152 | *--current = static_cast<signed char>(value % 10U + static_cast<unsigned>('0')); |
| 153 | value /= 10; |
| 154 | } while (value != 0); |
| 155 | } |
| 156 | |
| 157 | /** Change ',' to '.' everywhere in buffer. |
| 158 | * |