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

std/io/bufio.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
import { BufReader } from "https://deno.land/std@0.53.0/io/bufio.ts";

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

Parameters

r: Reader