| 563 | _size = 0; |
| 564 | } |
| 565 | void push(butil::IOBuf* buf) { |
| 566 | if (_size == _cap) { |
| 567 | flush(); |
| 568 | } |
| 569 | _storage[_size++] = buf; |
| 570 | _total_length += buf->length(); |
| 571 | |
| 572 | } |
| 573 | size_t total_length() const { return _total_length; } |
| 574 | private: |
| 575 | butil::IOBuf** _storage; |
no test coverage detected