| 65 | } |
| 66 | |
| 67 | Status ResizeBuffer(int64_t new_buffer_size) { |
| 68 | buffer_size_ = new_buffer_size; |
| 69 | return ResetBuffer(); |
| 70 | } |
| 71 | |
| 72 | void AppendToBuffer(const void* data, int64_t nbytes) { |
| 73 | DCHECK_LE(buffer_pos_ + nbytes, buffer_size_); |
nothing calls this directly
no outgoing calls
no test coverage detected