Skip to main content
Module

std/io/bufio.ts>BufWriterSync#reset

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method BufWriterSync.prototype.reset
import { BufWriterSync } from "https://deno.land/std@v0.56.0/io/bufio.ts";

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

Parameters

w: WriterSync