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

std/io/buffer.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.131.0/io/buffer.ts";

return new BufWriter unless writer is BufWriter

Parameters

writer: Writer
optional
size: number = [UNSUPPORTED]