CharBuffer.HasArray Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Tells whether or not this buffer is backed by an accessible char array.
public override bool HasArray { [Android.Runtime.Register("hasArray", "()Z", "")] get; }
[<get: Android.Runtime.Register("hasArray", "()Z", "")>]
member this.HasArray : bool
Property Value
true
if, and only if, this buffer
is backed by an array and is not read-only
- Attributes
Remarks
Tells whether or not this buffer is backed by an accessible char array.
If this method returns true
then the #array() array
and #arrayOffset() arrayOffset
methods may safely be invoked.
Java documentation for java.nio.CharBuffer.hasArray()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.