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 03       | component type section
  0xa | 01          | 1 count
  0xb | 41 00       | [type 0] Component([])
  0xd | 0a 06       | component import section
  0xf | 01          | 1 count
 0x10 | 00 01 61 04 | [component 0] ComponentImport { name: ComponentImportName("a"), ty: Component(0) }
      | 00         
 0x15 | 07 05       | component type section
 0x17 | 01          | 1 count
 0x18 | 40 00 01 00 | [type 1] Func(ComponentFuncType { async_: false, params: [], result: None })
 0x1c | 0a 06       | component import section
 0x1e | 01          | 1 count
 0x1f | 00 01 66 01 | [func 0] ComponentImport { name: ComponentImportName("f"), ty: Func(1) }
      | 01         
 0x24 | 05 08       | component instance section
 0x26 | 01          | 1 count
 0x27 | 00 00 01 01 | [instance 0] Instantiate { component_index: 0, args: [ComponentInstantiationArg { name: "a", kind: Func, index: 0 }] }
      | 61 01 00   
 0x2e | 00 24       | custom section
 0x30 | 0e 63 6f 6d | name: "component-name"
      | 70 6f 6e 65
      | 6e 74 2d 6e
      | 61 6d 65   
 0x3f | 01 05 01    | func name section
 0x42 | 01          | 1 count
 0x43 | 00 01 66    | Naming { index: 0, name: "f" }
 0x46 | 01 05 04    | component name section
 0x49 | 01          | 1 count
 0x4a | 00 01 63    | Naming { index: 0, name: "c" }
 0x4d | 01 05 05    | instance name section
 0x50 | 01          | 1 count
 0x51 | 00 01 61    | Naming { index: 0, name: "a" }