| 755 | class MemoryWriter : public zip_archive_lkchan::Writer { |
| 756 | public: |
| 757 | MemoryWriter(uint8_t* buf, size_t size) : Writer(), buf_(buf), size_(size), bytes_written_(0) {} |
| 758 | |
| 759 | virtual bool Append(uint8_t* buf, size_t buf_size) override { |
| 760 | if (bytes_written_ + buf_size > size_) { |
nothing calls this directly
no outgoing calls
no test coverage detected