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. */
| 76 | * Must have at least uintToStringBufferSize chars free. |
| 77 | */ |
| 78 | static inline void uintToString(LargestUInt value, char*& current) { |
| 79 | *--current = 0; |
| 80 | do { |
| 81 | *--current = static_cast<char>(value % 10U + static_cast<unsigned>('0')); |
| 82 | value /= 10; |
| 83 | } while (value != 0); |
| 84 | } |
| 85 | |
| 86 | /** Change ',' to '.' everywhere in buffer. |
| 87 | * |