| 288 | } |
| 289 | |
| 290 | bool WriteUint(unsigned u) { |
| 291 | char buffer[10]; |
| 292 | const char* end = internal::u32toa(u, buffer); |
| 293 | PutReserve(*os_, static_cast<size_t>(end - buffer)); |
| 294 | for (const char* p = buffer; p != end; ++p) |
| 295 | PutUnsafe(*os_, static_cast<typename TargetEncoding::Ch>(*p)); |
| 296 | return true; |
| 297 | } |
| 298 | |
| 299 | bool WriteInt64(int64_t i64) { |
| 300 | char buffer[21]; |
nothing calls this directly
no test coverage detected