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

x/xdg/vendor/types/deno.d.ts>WebAssembly.Module.customSections

Determine XDG Base Directory paths (OS/platform portable)
Latest
method WebAssembly.Module.customSections
import { WebAssembly } from "https://deno.land/x/xdg@v10.6.0/vendor/types/deno.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[]