MCPcopy Create free account
hub / github.com/assaultcube/AC / zipmanualstream

Function zipmanualstream

source/src/zip.cpp:729–739  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

727}
728
729stream *zipmanualstream(void *a, int n)
730{
731 ziparchive *arch = (ziparchive *)a;
732 if(arch->files.inrange(n))
733 {
734 zipstream *s = new zipstream;
735 if(s->open(arch, &arch->files[n])) return s;
736 delete s;
737 }
738 return NULL;
739}
740
741int zipmanualread(void *a, int n, stream *f, int maxlen)
742{

Callers 2

loopvFunction · 0.85
zipmanualreadFunction · 0.85

Calls 2

inrangeMethod · 0.80
openMethod · 0.45

Tested by

no test coverage detected