array property

JObject array

The array that backs this buffer.

Concrete subclasses like JByteBuffer provide more strongly-typed return values for this method.

Throws:

  • ReadOnlyBufferException - If this buffer is backed by an array but is read-only
  • UnsupportedOperationException - If this buffer is not backed by an accessible array

Implementation

JObject get array {
  return _arrayId(this, const JObjectType(), []);
}