method BufWriterSync.prototype.resetimport { BufWriterSync } from "https://dotland.deno.dev/std@0.181.0/io/mod.ts"; reset(w: WriterSync)Discards any unflushed buffered data, clears any error, and resets buffer to write its output to w. Parametersw: WriterSync