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

x/deno/ext/node/polyfills/buffer.ts>Buffer.of

A modern runtime for JavaScript and TypeScript.
Latest
method Buffer.of
import { Buffer } from "https://deno.land/x/deno@v2.0.4/ext/node/polyfills/buffer.ts";

Creates a new Buffer using the passed {data}

Parameters

...items: number[]

to create a new Buffer