Java.Nio.Buffer Members

The members of Java.Nio.Buffer are listed below.

See Also: Inherited members from Java.Lang.Object

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
abstract
HasArraybool. Returns true if array and arrayOffset won't throw.
[read-only]
HasRemainingbool. Indicates if there are elements remaining in this buffer, that is if position .
[read-only]
abstract
IsDirectbool. Returns true if this is a direct buffer.
[read-only]
abstract
IsReadOnlybool. Indicates whether this buffer is read-only.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

abstract
ArrayOffset() : int
Returns the offset into the array returned by array of the first element of the buffer (optional operation).
Capacity() : int
Returns the capacity of this buffer.
Clear() : Buffer
Clears this buffer.
Flip() : Buffer
Flips this buffer.
GetDirectBufferAddress() : IntPtr
Documentation for this section has not yet been entered.
Limit() : int
Returns the limit of this buffer.
Limit(int) : Buffer
Sets the limit of this buffer.
Mark() : Buffer
Marks the current position, so that the position may return to this point later by calling reset().
Position() : int
Returns the position of this buffer.
Position(int) : Buffer
Sets the position of this buffer.
Remaining() : int
Returns the number of remaining elements in this buffer, that is limit - position.
Reset() : Buffer
Resets the position of this buffer to the mark.
Rewind() : Buffer
Rewinds this buffer.