Edit

Share via


ArrayBufferWriter<T>.ResetWrittenCount Method

Definition

Resets the data written to the underlying buffer without zeroing its content.

public:
 void ResetWrittenCount();
public void ResetWrittenCount();
member this.ResetWrittenCount : unit -> unit
Public Sub ResetWrittenCount ()

Remarks

You must reset or clear the ArrayBufferWriter<T> before trying to re-use it.

If you reset the writer using the ResetWrittenCount() method, the underlying buffer will not be cleared.

Applies to

See also