docs: public char[] asCharArray()
      {
          int n = getIndexCount();
          if (getIndexSize() != 2)
          {
              throw new UnsupportedOperationException("Cannot convert int indices to char array");
          }
          if (n <= 0)
          {
              return null;
          }
          return NativeIndexBuffer.getShortArray(getNative());
      }