Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method BufReader.prototype.reset
import { BufReader } from "https://deno.land/std@0.196.0/io/buf_reader.ts";

Discards any buffered data, resets all state, and switches the buffered reader to read from r.