Skip to main content
WebAssembly.Module.customSections - WASM - Web documentation
method WebAssembly.Module.customSections
Module.customSections(
moduleObject: Module,
sectionName: string,
): ArrayBuffer[]

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

Return Type

ArrayBuffer[]