         strm.opaque = nil
         strm.avail_in = 0
         strm.next_in = nil
-        var c_version = zlibVersion()
-        let version = String(cString:c_version!)
-        //inflateInit2(&strm, -MAX_WBITS)
+        let c_version = zlibVersion()
+        //let version = String(cString:c_version!)
         switch inflateInit2_(&strm, -MAX_WBITS, c_version, CInt(MemoryLayout<z_stream>.size)) {
-        //switch inflateInit_(&strm, c_version, CInt(MemoryLayout<z_stream>.size)) {
             case Z_OK:
             //NSLog("zip: init OK")
             break

//////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////

// @_silgen_name("inflateInit_") private func inflateInit(strm : UnsafeMutableRawPointer, version : UnsafePointer<Int8>?, stream_size : CInt) -> CInt

public class ZipBundle {
    // https://en.wikipedia.org/wiki/Zip_(file_format)

            if let f = FileScanner(path:bundle.path) {
                self.f = f
                f.seek(offset:fd.offset)
                _ = self.wait(0.001) {
                    self.onData.dispatch(())
                }
            } else {
