if ((((z.istate.method << 8) + b) % 31) !== 0) {
                        z.istate.mode = BAD;
                        z.msg = "incorrect header check";
                        z.istate.marker = 5; // can't try inflateSync
                        break;