Skip to main content
BufferConstructor.of - buffer - Node documentation
method BufferConstructor.of

Usage in Deno

import { type BufferConstructor } from "node:buffer";
BufferConstructor.of(...items: number[]): Buffer

Creates a new Buffer using the passed {data}

Parameters

...items: number[]

Return Type