Module

std/io/mod.ts>BufReader#reset

The Deno Standard Library
Latest
method BufReader.prototype.reset
import { BufReader } from "https://dotland.deno.dev/std@0.224.0/io/mod.ts";

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