ArrayBufferWriter<T>.ResetWrittenCount 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.
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.