| 385 | |
| 386 | template <typename Type> |
| 387 | static char* printDigits (char* t, Type v) noexcept |
| 388 | { |
| 389 | *--t = 0; |
| 390 | |
| 391 | do |
| 392 | { |
| 393 | *--t = static_cast<char> ('0' + (char) (v % 10)); |
| 394 | v /= 10; |
| 395 | |
| 396 | } while (v > 0); |
| 397 | |
| 398 | return t; |
| 399 | } |
| 400 | |
| 401 | // pass in a pointer to the END of a buffer.. |
| 402 | static char* numberToString (char* t, int64 n) noexcept |