Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/io/buf_writer.ts

The Deno Standard Library
Latest
import * as mod from "https://deno.land/std@0.224.0/io/buf_writer.ts";

Classes

c
BufWriter
deprecated

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.

c
BufWriterSync
deprecated

BufWriterSync implements buffering for a deno.WriterSync object. If an error occurs writing to a WriterSync, 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.WriterSync.