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

x/html_parser/src/deps.ts>Buffer.alloc

Port of fb55/htmlparser2 for Deno
Latest
method Buffer.alloc
import { Buffer } from "https://deno.land/x/html_parser@v0.1.3/src/deps.ts";

Allocates a new Buffer of size bytes.

Parameters

size: number
optional
fill:
| number
| string
| Uint8Array
optional
encoding = [UNSUPPORTED]