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

x/deno/cli/dts/lib.deno.shared_globals.d.ts>WebAssembly.Module.customSections

A modern runtime for JavaScript and TypeScript.
Go to Latest
method WebAssembly.Module.customSections
import { WebAssembly } from "https://deno.land/x/deno@v1.28.0/cli/dts/lib.deno.shared_globals.d.ts";
const { Module } = WebAssembly;

Given a Module and string, returns a copy of the contents of all custom sections in the module with the given string name.

Parameters

moduleObject: Module
sectionName: string

Returns

ArrayBuffer[]