docs: public IntBuffer asIntBuffer()
      {
          int n = getIndexCount();
          if (getIndexSize() != 4)
          {
              throw new UnsupportedOperationException("Cannot convert short indices to int array");
          }
          if (n <= 0)
          {
              return null;
          }
          IntBuffer data = ByteBuffer.allocateDirect(4 * n).order(ByteOrder.nativeOrder()).asIntBuffer();
          if (!NativeIndexBuffer.getIntVec(getNative(), data))
          {
              throw new IllegalArgumentException("Cannot convert short indices to int buffer of size " + n);
          }
          return data;
      }