MappedByteBuffer.Clear Method
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.
Clears this buffer.
[Android.Runtime.Register("clear", "()Ljava/nio/Buffer;", "", ApiSince=35)]
public override sealed Java.Nio.Buffer? Clear();
[<Android.Runtime.Register("clear", "()Ljava/nio/Buffer;", "", ApiSince=35)>]
override this.Clear : unit -> Java.Nio.Buffer
Returns
This buffer
- Attributes
Remarks
Sets the position to zero, sets the limit to the capacity, and discards the mark. This operation does not erase the buffer's elements.
Java documentation for java.nio.MappedByteBuffer.clear().
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.