0x0 | 00 61 73 6d | version 1 (Module)
| 01 00 00 00
0x8 | 01 04 | type section
0xa | 01 | 1 count
0xb | 60 00 00 | [type 0] SubType { is_final: true, supertype_idx: None, composite_type: CompositeType { inner: Func(FuncType { params: [], results: [] }), shared: false, descriptor_idx: None, describes_idx: None } }
0xe | 03 02 | func section
0x10 | 01 | 1 count
0x11 | 00 | [func 0] type 0
0x12 | 04 05 | table section
0x14 | 01 | 1 count
0x15 | 70 01 01 01 | [table 0] Table { ty: TableType { element_type: funcref, table64: false, initial: 1, maximum: Some(1), shared: false }, init: RefNull }
0x19 | 09 25 | element section
0x1b | 08 | 8 count
0x1c | 00 | element table[None]
0x1d | 41 00 | i32_const value:0
0x1f | 0b | end
0x20 | 00 | 0 items [indices]
0x21 | 01 00 00 | element passive, 0 items [indices]
0x24 | 02 00 | element table[Some(0)]
0x26 | 41 00 | i32_const value:0
0x28 | 0b | end
0x29 | 00 00 | 0 items [indices]
0x2b | 03 00 00 | element declared 0 items [indices]
0x2e | 04 | element table[None]
0x2f | 41 00 | i32_const value:0
0x31 | 0b | end
0x32 | 00 | 0 items [exprs funcref]
0x33 | 05 70 00 | element passive, 0 items [exprs funcref]
0x36 | 06 00 | element table[Some(0)]
0x38 | 41 00 | i32_const value:0
0x3a | 0b | end
0x3b | 70 00 | 0 items [exprs funcref]
0x3d | 07 70 00 | element declared 0 items [exprs funcref]
0x40 | 0a 04 | code section
0x42 | 01 | 1 count
============== func 0 ====================
0x43 | 02 | size of function
0x44 | 00 | 0 local blocks
0x45 | 0b | end
0x46 | 00 0b | custom section
0x48 | 04 6e 61 6d | name: "name"
| 65
0x4d | 01 04 | function name section
0x4f | 01 | 1 count
0x50 | 00 01 66 | Naming { index: 0, name: "f" }