wasm-tools 1.248.0

CLI tools for interoperating with WebAssembly files
Documentation
  0x0 | 00 61 73 6d | version 13 (Component)
      | 0d 00 01 00
  0x8 | 07 0e       | component type section
  0xa | 02          | 2 count
  0xb | 73          | [type 0] Defined(Primitive(String))
  0xc | 41 02 02 03 | [type 1] Component([Alias(Outer { kind: Type, count: 1, index: 0 }), Type(Func(ComponentFuncType { async_: false, params: [], result: Some(Type(0)) }))])
      | 02 01 00 01
      | 40 00 00 00
 0x18 | 04 2e       | [component 0] inline size
   0x1a | 00 61 73 6d | version 13 (Component)
        | 0d 00 01 00
   0x22 | 06 05       | component alias section
   0x24 | 01          | 1 count
   0x25 | 03 02 01 00 | alias [type 0] Outer { kind: Type, count: 1, index: 0 }
   0x29 | 07 05       | component type section
   0x2b | 01          | 1 count
   0x2c | 40 00 00 00 | [type 1] Func(ComponentFuncType { async_: false, params: [], result: Some(Type(0)) })
   0x30 | 00 16       | custom section
   0x32 | 0e 63 6f 6d | name: "component-name"
        | 70 6f 6e 65
        | 6e 74 2d 6e
        | 61 6d 65   
   0x41 | 01 05 03    | type name section
   0x44 | 01          | 1 count
   0x45 | 00 01 74    | Naming { index: 0, name: "t" }
 0x48 | 04 32       | [component 1] inline size
   0x4a | 00 61 73 6d | version 13 (Component)
        | 0d 00 01 00
   0x52 | 06 05       | component alias section
   0x54 | 01          | 1 count
   0x55 | 03 02 01 00 | alias [type 0] Outer { kind: Type, count: 1, index: 0 }
   0x59 | 07 09       | component type section
   0x5b | 02          | 2 count
   0x5c | 40 00 00 00 | [type 1] Func(ComponentFuncType { async_: false, params: [], result: Some(Type(0)) })
   0x60 | 40 00 00 00 | [type 2] Func(ComponentFuncType { async_: false, params: [], result: Some(Type(0)) })
   0x64 | 00 16       | custom section
   0x66 | 0e 63 6f 6d | name: "component-name"
        | 70 6f 6e 65
        | 6e 74 2d 6e
        | 61 6d 65   
   0x75 | 01 05 03    | type name section
   0x78 | 01          | 1 count
   0x79 | 00 01 74    | Naming { index: 0, name: "t" }
 0x7c | 07 02       | component type section
 0x7e | 01          | 1 count
 0x7f | 7d          | [type 2] Defined(Primitive(U8))
 0x80 | 04 33       | [component 2] inline size
   0x82 | 00 61 73 6d | version 13 (Component)
        | 0d 00 01 00
   0x8a | 06 05       | component alias section
   0x8c | 01          | 1 count
   0x8d | 03 02 01 02 | alias [type 0] Outer { kind: Type, count: 1, index: 2 }
   0x91 | 07 09       | component type section
   0x93 | 02          | 2 count
   0x94 | 40 00 00 00 | [type 1] Func(ComponentFuncType { async_: false, params: [], result: Some(Type(0)) })
   0x98 | 40 00 00 00 | [type 2] Func(ComponentFuncType { async_: false, params: [], result: Some(Type(0)) })
   0x9c | 00 17       | custom section
   0x9e | 0e 63 6f 6d | name: "component-name"
        | 70 6f 6e 65
        | 6e 74 2d 6e
        | 61 6d 65   
   0xad | 01 06 03    | type name section
   0xb0 | 01          | 1 count
   0xb1 | 00 02 74 32 | Naming { index: 0, name: "t2" }
 0xb5 | 00 1a       | custom section
 0xb7 | 0e 63 6f 6d | name: "component-name"
      | 70 6f 6e 65
      | 6e 74 2d 6e
      | 61 6d 65   
 0xc6 | 01 09 03    | type name section
 0xc9 | 02          | 2 count
 0xca | 00 01 74    | Naming { index: 0, name: "t" }
 0xcd | 02 02 74 32 | Naming { index: 2, name: "t2" }