0x0 | 00 61 73 6d | version 1 (Module) | 01 00 00 00 0x8 | 01 05 | type section 0xa | 01 | 1 count --- rec group 0 (implicit) --- 0xb | 60 01 7f 00 | [type 0] SubType { is_final: true, supertype_idx: None, composite_type: CompositeType { inner: Func(FuncType { params: [I32], results: [] }), shared: false } } 0xf | 03 02 | func section 0x11 | 01 | 1 count 0x12 | 00 | [func 0] type 0 0x13 | 0a 06 | code section 0x15 | 01 | 1 count ============== func 0 ==================== 0x16 | 04 | size of function 0x17 | 01 | 1 local blocks 0x18 | 01 7c | 1 locals of type F64 0x1a | 0b | end 0x1b | 00 1c | custom section 0x1d | 04 6e 61 6d | name: "name" | 65 0x22 | 00 04 | module name 0x24 | 03 66 6f 6f | "foo" 0x28 | 01 04 | function name section 0x2a | 01 | 1 count 0x2b | 00 01 66 | Naming { index: 0, name: "f" } 0x2e | 02 09 | local section 0x30 | 01 | 1 count 0x31 | 00 | function 0 local name section 0x32 | 02 | 2 count 0x33 | 00 01 78 | Naming { index: 0, name: "x" } 0x36 | 01 01 79 | Naming { index: 1, name: "y" }