code: private static void addVersionInfo(byte[] grid, int size, int version) {
          // TODO: Zint masks with 0x41 instead of 0x01; which is correct? https://sourceforge.net/p/zint/tickets/110/
          long version_data = QR_ANNEX_D[version - 7];
          for (int i = 0; i < 6; i++) {
              grid[((size - 11) * size) + i] += (version_data >> (i * 3)) & 0x01;
              grid[((size - 10) * size) + i] += (version_data >> ((i * 3) + 1)) & 0x01;
              grid[((size - 9) * size) + i] += (version_data >> ((i * 3) + 2)) & 0x01;
              grid[(i * size) + (size - 11)] += (version_data >> (i * 3)) & 0x01;
              grid[(i * size) + (size - 10)] += (version_data >> ((i * 3) + 1)) & 0x01;
              grid[(i * size) + (size - 9)] += (version_data >> ((i * 3) + 2)) & 0x01;
          }
      }
docs: Adds version information.