| 1 |
0x0 | 00 61 73 6d | version 13 (Component) |
| 2 |
| 0d 00 01 00 |
| 3 |
0x8 | 07 18 | component type section |
| 4 |
0xa | 04 | 4 count |
| 5 |
0xb | 42 00 | [type 0] Instance([]) |
| 6 |
0xd | 42 01 04 00 | [type 1] Instance([Export { name: ComponentExportName(""), ty: Instance(0) }]) |
| 7 |
| 00 05 00 |
| 8 |
0x14 | 42 00 | [type 2] Instance([]) |
| 9 |
0x16 | 42 02 02 03 | [type 3] Instance([Alias(Outer { kind: Type, count: 1, index: 2 }), Export { name: ComponentExportName(""), ty: Instance(0) }]) |
| 10 |
| 02 01 02 04 |
| 11 |
| 00 00 05 00 |
| 12 |
0x22 | 00 16 | custom section |
| 13 |
0x24 | 0e 63 6f 6d | name: "component-name" |
| 14 |
| 70 6f 6e 65 |
| 15 |
| 6e 74 2d 6e |
| 16 |
| 61 6d 65 |
| 17 |
0x33 | 01 05 03 | type name section |
| 18 |
0x36 | 01 | 1 count |
| 19 |
0x37 | 02 01 78 | Naming { index: 2, name: "x" } |