Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.96.0/io/bufio.ts";

return new BufWriterSync unless writer is BufWriterSync

Parameters

writer: WriterSync
optional
size: number = [UNSUPPORTED]

Returns

BufWriterSync