docs: public static long[] shape(DataBuffer buffer) {
          val ret = new long[rank(buffer)];
          for (int i = 0; i < ret.length; i++)
              ret[i] = buffer.getInt(1 + i);
          return ret;
      }