MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / MemoryWriter

Method MemoryWriter

Bcore/src/main/cpp/ziparchive/zip_archive.cc:757–757  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

755class 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_) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected