Executable formats

WebAssembly function type

Encode an MVP function signature with numeric parameters and one optional result.

Your inputs

Start with an example

Your inputs stay in your browser.

Your result

Example result

How it works

Emit 60 hex, a parameter vector and a zero- or one-element result vector using Core 1.0 value-type codes.

Parameters i32,i64 and result f64 encode as 60 02 7F 7E 01 7C.

Limits

Core 1.0 numeric types only. This is one type entry, not a type section, function body or module.