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

x/silicon/deps.ts>io.Buffer#empty

Deno module to generate images from source code using Aloxaf/silicon.
Go to Latest
method io.Buffer.prototype.empty
Re-export
import { io } from "https://deno.land/x/silicon@0.0.6/deps.ts";
const { Buffer } = io;

Returns whether the unread portion of the buffer is empty.

Returns

boolean