Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/io/bufio.ts>BufWriter#reset

Deno standard library
Go to Latest
method BufWriter.prototype.reset
import { BufWriter } from "https://deno.land/std@0.38.0/io/bufio.ts";

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

Parameters

w: Writer