다음을 통해 공유


Buffer.Reset Method

Definition

Resets this buffer's position to the previously-marked position.

[Android.Runtime.Register("reset", "()Ljava/nio/Buffer;", "GetResetHandler")]
public virtual Java.Nio.Buffer? Reset ();
[<Android.Runtime.Register("reset", "()Ljava/nio/Buffer;", "GetResetHandler")>]
abstract member Reset : unit -> Java.Nio.Buffer
override this.Reset : unit -> Java.Nio.Buffer

Returns

This buffer

Attributes

Exceptions

if the mark is not set.

Remarks

Resets this buffer's position to the previously-marked position.

Invoking this method neither changes nor discards the mark's value.

Java documentation for java.nio.Buffer.reset().

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.

Applies to