| 856 | } |
| 857 | |
| 858 | inline void reset() { |
| 859 | allocator_ = nullptr; |
| 860 | own_allocator_ = false; |
| 861 | buf_ = nullptr; |
| 862 | reserved_ = 0; |
| 863 | cur_ = nullptr; |
| 864 | size_ = 0; |
| 865 | } |
| 866 | }; |
| 867 | |
| 868 | // This is a minimal replication of std::vector<uint8_t> functionality, |
no outgoing calls
no test coverage detected