MCPcopy Create free account
hub / github.com/axmolengine/axmol / ZipFile_write_file_func

Method ZipFile_write_file_func

core/base/ZipUtils.cpp:617–623  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

615 }
616
617 static uint32_t ZipFile_write_file_func(voidpf opaque, voidpf stream, const void* buf, uint32_t size)
618 {
619 if (stream == nullptr)
620 return (uint32_t)-1;
621
622 return static_cast<IFileStream*>(stream)->write(buf, size);
623 }
624
625 static int ZipFile_close_file_func(voidpf opaque, voidpf stream)
626 {

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected