| 1 |
0x0 | 00 61 73 6d | version 13 (Component) |
| 2 |
| 0d 00 01 00 |
| 3 |
0x8 | 07 0e | component type section |
| 4 |
0xa | 02 | 2 count |
| 5 |
0xb | 73 | [type 0] Defined(Primitive(String)) |
| 6 |
0xc | 41 02 02 03 | [type 1] Component([Alias(Outer { kind: Type, count: 1, index: 0 }), Type(Func(ComponentFuncType { params: [], result: Some(Type(0)) }))]) |
| 7 |
| 02 01 00 01 |
| 8 |
| 40 00 00 00 |
| 9 |
0x18 | 04 2e | [component 0] inline size |
| 10 |
0x1a | 00 61 73 6d | version 13 (Component) |
| 11 |
| 0d 00 01 00 |
| 12 |
0x22 | 06 05 | component alias section |
| 13 |
0x24 | 01 | 1 count |
| 14 |
0x25 | 03 02 01 00 | alias [type 0] Outer { kind: Type, count: 1, index: 0 } |
| 15 |
0x29 | 07 05 | component type section |
| 16 |
0x2b | 01 | 1 count |
| 17 |
0x2c | 40 00 00 00 | [type 1] Func(ComponentFuncType { params: [], result: Some(Type(0)) }) |
| 18 |
0x30 | 00 16 | custom section |
| 19 |
0x32 | 0e 63 6f 6d | name: "component-name" |
| 20 |
| 70 6f 6e 65 |
| 21 |
| 6e 74 2d 6e |
| 22 |
| 61 6d 65 |
| 23 |
0x41 | 01 05 03 | type name section |
| 24 |
0x44 | 01 | 1 count |
| 25 |
0x45 | 00 01 74 | Naming { index: 0, name: "t" } |
| 26 |
0x48 | 04 32 | [component 1] inline size |
| 27 |
0x4a | 00 61 73 6d | version 13 (Component) |
| 28 |
| 0d 00 01 00 |
| 29 |
0x52 | 06 05 | component alias section |
| 30 |
0x54 | 01 | 1 count |
| 31 |
0x55 | 03 02 01 00 | alias [type 0] Outer { kind: Type, count: 1, index: 0 } |
| 32 |
0x59 | 07 09 | component type section |
| 33 |
0x5b | 02 | 2 count |
| 34 |
0x5c | 40 00 00 00 | [type 1] Func(ComponentFuncType { params: [], result: Some(Type(0)) }) |
| 35 |
0x60 | 40 00 00 00 | [type 2] Func(ComponentFuncType { params: [], result: Some(Type(0)) }) |
| 36 |
0x64 | 00 16 | custom section |
| 37 |
0x66 | 0e 63 6f 6d | name: "component-name" |
| 38 |
| 70 6f 6e 65 |
| 39 |
| 6e 74 2d 6e |
| 40 |
| 61 6d 65 |
| 41 |
0x75 | 01 05 03 | type name section |
| 42 |
0x78 | 01 | 1 count |
| 43 |
0x79 | 00 01 74 | Naming { index: 0, name: "t" } |
| 44 |
0x7c | 07 02 | component type section |
| 45 |
0x7e | 01 | 1 count |
| 46 |
0x7f | 7d | [type 2] Defined(Primitive(U8)) |
| 47 |
0x80 | 04 33 | [component 2] inline size |
| 48 |
0x82 | 00 61 73 6d | version 13 (Component) |
| 49 |
| 0d 00 01 00 |
| 50 |
0x8a | 06 05 | component alias section |
| 51 |
0x8c | 01 | 1 count |
| 52 |
0x8d | 03 02 01 02 | alias [type 0] Outer { kind: Type, count: 1, index: 2 } |
| 53 |
0x91 | 07 09 | component type section |
| 54 |
0x93 | 02 | 2 count |
| 55 |
0x94 | 40 00 00 00 | [type 1] Func(ComponentFuncType { params: [], result: Some(Type(0)) }) |
| 56 |
0x98 | 40 00 00 00 | [type 2] Func(ComponentFuncType { params: [], result: Some(Type(0)) }) |
| 57 |
0x9c | 00 17 | custom section |
| 58 |
0x9e | 0e 63 6f 6d | name: "component-name" |
| 59 |
| 70 6f 6e 65 |
| 60 |
| 6e 74 2d 6e |
| 61 |
| 61 6d 65 |
| 62 |
0xad | 01 06 03 | type name section |
| 63 |
0xb0 | 01 | 1 count |
| 64 |
0xb1 | 00 02 74 32 | Naming { index: 0, name: "t2" } |
| 65 |
0xb5 | 00 1a | custom section |
| 66 |
0xb7 | 0e 63 6f 6d | name: "component-name" |
| 67 |
| 70 6f 6e 65 |
| 68 |
| 6e 74 2d 6e |
| 69 |
| 61 6d 65 |
| 70 |
0xc6 | 01 09 03 | type name section |
| 71 |
0xc9 | 02 | 2 count |
| 72 |
0xca | 00 01 74 | Naming { index: 0, name: "t" } |
| 73 |
0xcd | 02 02 74 32 | Naming { index: 2, name: "t2" } |