| 222 | |
| 223 | private: |
| 224 | void AppendDecimal64(const char* begin, const char* end) { |
| 225 | uint64_t u = ParseUint64(begin, end); |
| 226 | if (IsZero()) |
| 227 | *this = u; |
| 228 | else { |
| 229 | unsigned exp = static_cast<unsigned>(end - begin); |
| 230 | (MultiplyPow5(exp) <<= exp) += u; // *this = *this * 10^exp + u |
| 231 | } |
| 232 | } |
| 233 | |
| 234 | void PushBack(Type digit) { |
| 235 | RAPIDJSON_ASSERT(count_ < kCapacity); |