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