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

std/io/buf_reader.ts>BufReader#reset

The Deno Standard Library
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.222.1/io/buf_reader.ts";

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