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

x/deno/std/io/bufio.ts

A modern runtime for JavaScript and TypeScript.
Go to Latest
import * as deno from "https://deno.land/x/deno@v0.28.0/std/io/bufio.ts";

Classes

BufReader implements buffering for a Reader object.

BufWriter implements buffering for an deno.Writer object. If an error occurs writing to a Writer, no more data will be accepted and all subsequent writes, and flush(), will return the error. After all data has been written, the client should call the flush() method to guarantee all data has been forwarded to the underlying deno.Writer.

Interfaces

Result type returned by of BufReader.readLine().