Skip to main content
Module

std/io/mod.ts>BufWriterSync.create

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

return new BufWriterSync unless writer is BufWriterSync

Parameters

writer: WriterSync
optional
size: number = [UNSUPPORTED]