Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/esm/server/embed/types/node.ns.d.ts>Buffer.allocUnsafe

A fast, smart, & global CDN for modern(es2015+) web development.
Latest
method Buffer.allocUnsafe
import { Buffer } from "https://deno.land/x/esm@v135_2/server/embed/types/node.ns.d.ts";

Allocates a new buffer of {size} octets, leaving memory not initialized, so the contents of the newly created Buffer are unknown and may contain sensitive data.

Parameters

size: number

count of octets to allocate

Returns

Buffer