private static int bsGetInt(BitInputStream bin) throws IOException { return bsR(bin, 32); }
private static boolean bsGetBit(BitInputStream bin) throws IOException { return bsR(bin, 1) != 0; }
private static char bsGetUByte(BitInputStream bin) throws IOException { return (char) bsR(bin, 8); }
private int getAndMoveToFrontDecode0() throws IOException { final Data dataShadow = this.data; final int zt = dataShadow.selector[0] & 0xff; checkBounds(zt, N_GROUPS, "zt"); final int[] limit_zt = dataShadow.limit[zt]; int zn = dataShadow.minLens[zt]; checkBounds(zn, MAX_ALPHA_SIZE, "zn"); int zvec = bsR(bin, zn); while (zvec > limit_zt[zn]) { checkBounds(++zn, MAX_ALPHA_SIZE, "zn"); zvec = (zvec << 1) | bsR(bin, 1); } final int tmp = zvec - dataShadow.base[zt][zn]; checkBounds(tmp, MAX_ALPHA_SIZE, "zvec"); return dataShadow.perm[zt][tmp]; }
private void getAndMoveToFrontDecode() throws IOException { final BitInputStream bin = this.bin; this.origPtr = bsR(bin, 24); recvDecodingTables(); int zvec = bsR(bin, zn); while(zvec > limit_zt[zn]) { checkBounds(++zn, MAX_ALPHA_SIZE, "zn"); zvec = (zvec << 1) | bsR(bin, 1); int zvec = bsR(bin, zn); while(zvec > limit_zt[zn]) { checkBounds(++zn, MAX_ALPHA_SIZE, "zn"); zvec = (zvec << 1) | bsR(bin, 1);
final int alphaSize = this.nInUse + 2; final int nGroups = bsR(bin, 3); final int nSelectors = bsR(bin, 15); checkBounds(alphaSize, MAX_ALPHA_SIZE + 1, "alphaSize"); checkBounds(nGroups, N_GROUPS + 1, "nGroups"); int curr = bsR(bin, 5); final char[] len_t = len[t]; for (int i = 0; i < alphaSize; i++) {
this.blockRandomised = bsR(bin, 1) == 1;
private static int bsGetInt(BitInputStream bin) throws IOException { return bsR(bin, 32); }
private static boolean bsGetBit(BitInputStream bin) throws IOException { return bsR(bin, 1) != 0; }
private static char bsGetUByte(BitInputStream bin) throws IOException { return (char) bsR(bin, 8); }
private int getAndMoveToFrontDecode0() throws IOException { final Data dataShadow = this.data; final int zt = dataShadow.selector[0] & 0xff; checkBounds(zt, N_GROUPS, "zt"); final int[] limit_zt = dataShadow.limit[zt]; int zn = dataShadow.minLens[zt]; checkBounds(zn, MAX_ALPHA_SIZE, "zn"); int zvec = bsR(bin, zn); while (zvec > limit_zt[zn]) { checkBounds(++zn, MAX_ALPHA_SIZE, "zn"); zvec = (zvec << 1) | bsR(bin, 1); } final int tmp = zvec - dataShadow.base[zt][zn]; checkBounds(tmp, MAX_ALPHA_SIZE, "zvec"); return dataShadow.perm[zt][tmp]; }
private void getAndMoveToFrontDecode() throws IOException { final BitInputStream bin = this.bin; this.origPtr = bsR(bin, 24); recvDecodingTables(); int zvec = bsR(bin, zn); while(zvec > limit_zt[zn]) { checkBounds(++zn, MAX_ALPHA_SIZE, "zn"); zvec = (zvec << 1) | bsR(bin, 1); int zvec = bsR(bin, zn); while(zvec > limit_zt[zn]) { checkBounds(++zn, MAX_ALPHA_SIZE, "zn"); zvec = (zvec << 1) | bsR(bin, 1);
final int alphaSize = this.nInUse + 2; final int nGroups = bsR(bin, 3); final int nSelectors = bsR(bin, 15); checkBounds(alphaSize, MAX_ALPHA_SIZE + 1, "alphaSize"); checkBounds(nGroups, N_GROUPS + 1, "nGroups"); int curr = bsR(bin, 5); final char[] len_t = len[t]; for (int i = 0; i < alphaSize; i++) {
this.blockRandomised = bsR(bin, 1) == 1;