Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/io/mod.ts>BufReader#reset

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method BufReader.prototype.reset
Re-export
import { BufReader } from "https://deno.land/std@0.188.0/io/mod.ts";

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