Module

std/io/buf_writer.ts>BufWriter#reset

The Deno Standard Library
Latest
method BufWriter.prototype.reset
import { BufWriter } from "https://dotland.deno.dev/std@0.224.0/io/buf_writer.ts";

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