Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
method BufWriterSync.prototype.reset
import { BufWriterSync } from "https://deno.land/std@0.121.0/io/buffer.ts";

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