Skip to main content
Module

std/io/bufio.ts>BufReader#reset

Deno standard library
Go to Latest
method BufReader.prototype.reset
import { BufReader } from "https://deno.land/std@0.109.0/io/bufio.ts";

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

Parameters

r: Reader