void BrotliContext::updateOutput(Buffer::Instance& output_buffer) {
  if (avail_out_ == 0) {
    output_buffer.add(static_cast<void*>(chunk_ptr_.get()), chunk_size_);
    resetOut();
  }
}
void BrotliContext::updateOutput(Buffer::Instance& output_buffer) {
  if (avail_out_ == 0) {
    output_buffer.add(static_cast<void*>(chunk_ptr_.get()), chunk_size_);
    resetOut();
  }
}