Returns true if the wasm module binary b contains a custom section with this name.
(b []byte, name string)
| 8 | // Returns true if the wasm module binary b contains a custom section with this |
| 9 | // name. |
| 10 | func wasmHasCustomSection(b []byte, name string) bool { |
| 11 | return wasmCustomSection(b, name) != nil |
| 12 | } |
| 13 | |
| 14 | // Returns the byte content of a custom section with name, or nil. |
| 15 | func wasmCustomSection(b []byte, name string) []byte { |
no test coverage detected