docs: public static long getOffset(DataBuffer shapeInformation, int row, int col) {
          int rank = rank(shapeInformation);
          if (rank != 2)
              throw new IllegalArgumentException(
                      "Cannot use this getOffset method on arrays of rank != 2 (rank is: " + rank + ")");
          return getOffsetUnsafe(shapeInformation, row, col);
      }