@pumpkin-plugins/signing API / wasm / appendCustomSections
Function: appendCustomSections()
appendCustomSections(
wasm,sections):Buffer
Defined in: wasm.ts:133
Appends custom sections to a wasm binary, in order.
Parameters
wasm
Uint8Array
The binary to extend.
sections
readonly readonly [string, Uint8Array<ArrayBufferLike>][]
The sections to append, as [name, data] pairs.
Returns
Buffer
A new binary.