| 297 | } |
| 298 | |
| 299 | bool WriteInt64(int64_t i64) { |
| 300 | char buffer[21]; |
| 301 | const char* end = internal::i64toa(i64, buffer); |
| 302 | PutReserve(*os_, static_cast<size_t>(end - buffer)); |
| 303 | for (const char* p = buffer; p != end; ++p) |
| 304 | PutUnsafe(*os_, static_cast<typename TargetEncoding::Ch>(*p)); |
| 305 | return true; |
| 306 | } |
| 307 | |
| 308 | bool WriteUint64(uint64_t u64) { |
| 309 | char buffer[20]; |
nothing calls this directly
no test coverage detected