Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
method BufWriterSync.prototype.reset
import { BufWriterSync } from "https://deno.land/x/pogsocket@2.0.0/pogsocket/deps.ts";

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