Skip to main content
Module

std/io/buf_writer.ts>BufWriter#reset

The Deno Standard Library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method BufWriter.prototype.reset
import { BufWriter } from "https://deno.land/std@0.222.1/io/buf_writer.ts";

Discards any unflushed buffered data, clears any error, and resets buffer to write its output to w.