code: function base32EncodeNextChucks(previous, current, byteIndex, base32) {
      var chunk;
      const offset = byteIndex % 5;
      switch (offset) {
          case 0:
              chunk = (current & 0xF8) >>> 3;
              base32 += base32LookupTable[chunk];
              break;
          case 1:
              chunk = ((previous & 0x07) << 2) | ((current & 0xC0) >>> 6);
              base32 += base32LookupTable[chunk];
              chunk = (current & 0x3E) >>> 1;
              base32 += base32LookupTable[chunk];
              break;
          case 2:
              chunk = ((previous & 0x01) << 4) | ((current & 0xF0) >>> 4);
              base32 += base32LookupTable[chunk];
              break;
          case 3:
              chunk = ((previous & 0x0F) << 1) | ((current & 0x80) >>> 7);
              base32 += base32LookupTable[chunk];
              chunk = (current & 0x7C) >>> 2;
              base32 += base32LookupTable[chunk];
              break;
          case 4:
              chunk = ((previous & 0x03) << 3) | ((current & 0xE0) >>> 5);
              base32 += base32LookupTable[chunk];
              chunk = current & 0x1F;
              base32 += base32LookupTable[chunk];
              break;
      }
      return base32;
  }
docs: PRIVATE FUNCTIONS /*
  offset:    0        1        2        3        4        0
  byte:  00000111|11222223|33334444|45555566|66677777|...
  mask:   F8  07  C0 3E  01 F0  0F 80  7C 03  E0  1F   F8  07