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

std/io/mod.ts>BufWriter.create

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method BufWriter.create
import { BufWriter } from "https://deno.land/std@0.200.0/io/mod.ts";

return new BufWriter unless writer is BufWriter

Parameters

writer: Writer
optional
size: number = [UNSUPPORTED]