Skip to content

@pumpkin-plugins/signing API / wasm / WasmSection

Interface: WasmSection ​

Defined in: wasm.ts:14

One section of a wasm binary. Offsets are into the original bytes.

Properties ​

data? ​

optional data?: Uint8Array<ArrayBufferLike>

Defined in: wasm.ts:24

Custom sections only: the section data, after the name.


end ​

end: number

Defined in: wasm.ts:20

Offset just past the last payload byte.


id ​

id: number

Defined in: wasm.ts:16

Section id; 0 is a custom section.


name? ​

optional name?: string

Defined in: wasm.ts:22

Custom sections only: the section name.


start ​

start: number

Defined in: wasm.ts:18

Offset of the id byte.

Pumpkin Plugins documentation