Skip to main content
Module

std/io/bufio.ts>BufWriter#reset

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@v0.35.0/io/bufio.ts";

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

Parameters

w: Writer