| 125 | |
| 126 | |
| 127 | bool slice_ostream::writeUVarInt(uint64_t n) noexcept { |
| 128 | if (capacity() < kMaxVarintLen64 && capacity() < SizeOfVarInt(n)) { |
| 129 | _overflowed = true; |
| 130 | return false; |
| 131 | } |
| 132 | _next += PutUVarInt(_next, n); |
| 133 | return true; |
| 134 | } |
| 135 | |
| 136 | |
| 137 | #pragma mark - INPUT STREAM: |
nothing calls this directly
no test coverage detected