----------------------------------------------------------------
| 147 | |
| 148 | // ---------------------------------------------------------------- |
| 149 | uLong IOSystem2Unzip::read(voidpf /*opaque*/, voidpf stream, void *buf, uLong size) { |
| 150 | IOStream *io_stream = (IOStream *)stream; |
| 151 | |
| 152 | return static_cast<uLong>(io_stream->Read(buf, 1, size)); |
| 153 | } |
| 154 | |
| 155 | // ---------------------------------------------------------------- |
| 156 | uLong IOSystem2Unzip::write(voidpf /*opaque*/, voidpf stream, const void *buf, uLong size) { |