docs: private void init() {
          generalHuffsize();
          generalHuffcode();
  
          int i = 0, j = 0;
          for (;;) {
              i++;
  
              if (i > 16) {
                  break;
              }
  
              if (L[i] == 0) {
                  maxcode[i] = -1;
                  continue;
              } else {
                  valptr[i] = j;
                  mincode[i] = huffcode[j];
                  j = j + L[i] - 1;
                  maxcode[i] = huffcode[j];
                  j++;
              }
          }
  
          maxcode[17] = 0xFFFFFF;
      }