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