ByteBuffer.hasArray

Tells whether or not this buffer is backed by an accessible byte array.

<p> If this method returns <tt>true</tt> then the {@link #array() array} and {@link #arrayOffset() arrayOffset} methods may safely be invoked. </p>

@return <tt>true</tt> if, and only if, this buffer is backed by an array and is not read-only

class ByteBuffer
final override
bool
hasArray
()

Meta