| 727 | } |
| 728 | |
| 729 | stream *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 | |
| 741 | int zipmanualread(void *a, int n, stream *f, int maxlen) |
| 742 | { |
no test coverage detected