Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/silicon/deps.ts>io.BufWriterSync.create

Deno module to generate images from source code using Aloxaf/silicon.
Go to Latest
method io.BufWriterSync.create
import { io } from "https://deno.land/x/silicon@v0.0.2/deps.ts";
const { BufWriterSync } = io;

return new BufWriterSync unless writer is BufWriterSync

Parameters

writer: WriterSync
optional
size: number = [UNSUPPORTED]