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

x/denoexec/deps.ts>io.BufReader#reset

A higher level wrapper around https://doc.deno.land/builtin/stable#Deno.run
Latest
method io.BufReader.prototype.reset
import { io } from "https://deno.land/x/denoexec@v1.1.5/deps.ts";
const { BufReader } = io;

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

Parameters

r: Reader