Skip to main content
Module

std/node/buffer.ts>Buffer.of

Deno standard library
Go to Latest
method Buffer.of
import { Buffer } from "https://deno.land/std@0.147.0/node/buffer.ts";

Creates a new Buffer using the passed {data}

Parameters

...items: number[]

to create a new Buffer

Returns

Buffer