Module

std/io/mod.ts>BufWriter#reset

Deno standard library
Go to Latest
method BufWriter.prototype.reset
import { BufWriter } from "https://dotland.deno.dev/std@0.119.0/io/mod.ts";

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