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 | 04 08       | [component 1] inline size
   0x17 | 00 61 73 6d | version 13 (Component)
        | 0d 00 01 00
 0x1f | 04 08       | [component 2] inline size
   0x21 | 00 61 73 6d | version 13 (Component)
        | 0d 00 01 00
 0x29 | 04 08       | [component 3] inline size
   0x2b | 00 61 73 6d | version 13 (Component)
        | 0d 00 01 00
 0x33 | 04 12       | [component 4] inline size
   0x35 | 00 61 73 6d | version 13 (Component)
        | 0d 00 01 00
   0x3d | 04 08       | [component 0] inline size
     0x3f | 00 61 73 6d | version 13 (Component)
          | 0d 00 01 00
 0x47 | 04 73       | [component 5] inline size
   0x49 | 00 61 73 6d | version 13 (Component)
        | 0d 00 01 00
   0x51 | 01 13       | [core module 0] inline size
     0x53 | 00 61 73 6d | version 1 (Module)
          | 01 00 00 00
     0x5b | 00 09       | custom section
     0x5d | 04 6e 61 6d | name: "name"
          | 65         
     0x62 | 00 02       | module name
     0x64 | 01 6d       | "m"
   0x66 | 07 08       | component type section
   0x68 | 01          | 1 count
   0x69 | 40 01 01 70 | [type 0] Func(ComponentFuncType { async_: false, params: [("p", Primitive(String))], result: None })
        | 73 01 00   
   0x70 | 0a 06       | component import section
   0x72 | 01          | 1 count
   0x73 | 00 01 61 01 | [func 0] ComponentImport { name: ComponentImportName("a"), ty: Func(0) }
        | 00         
   0x78 | 0b 08       | component export section
   0x7a | 01          | 1 count
   0x7b | 00 01 61 00 | export ComponentExport { name: ComponentExportName("a"), kind: Module, index: 0, ty: None }
        | 11 00 00   
   0x82 | 07 0e       | component type section
   0x84 | 01          | 1 count
   0x85 | 42 02 01 40 | [type 1] Instance([Type(Func(ComponentFuncType { async_: false, params: [], result: None })), Export { name: ComponentExportName("a"), ty: Func(0) }])
        | 00 01 00 04
        | 00 01 61 01
        | 00         
   0x92 | 0a 06       | component import section
   0x94 | 01          | 1 count
   0x95 | 00 01 62 05 | [instance 0] ComponentImport { name: ComponentImportName("b"), ty: Instance(1) }
        | 01         
   0x9a | 0b 07       | component export section
   0x9c | 01          | 1 count
   0x9d | 00 01 62 05 | export ComponentExport { name: ComponentExportName("b"), kind: Instance, index: 0, ty: None }
        | 00 00      
   0xa3 | 00 17       | custom section
   0xa5 | 0e 63 6f 6d | name: "component-name"
        | 70 6f 6e 65
        | 6e 74 2d 6e
        | 61 6d 65   
   0xb4 | 01 06 00 11 | core module name section
   0xb8 | 01          | 1 count
   0xb9 | 00 01 6d    | Naming { index: 0, name: "m" }
 0xbc | 0b 07       | component export section
 0xbe | 01          | 1 count
 0xbf | 00 01 61 04 | export ComponentExport { name: ComponentExportName("a"), kind: Component, index: 3, ty: None }
      | 03 00