Skip to main content
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.105.0/io/bufio.ts";

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

Parameters

w: Writer