Skip to contents

Convert WebAssembly Text (WAT) to WASM binary and return as R raw vector.

Usage

wasmer_wat_to_wasm_ext(wat_code)

Arguments

wat_code

WAT code as a string.

Value

WASM binary as R raw vector, or error string if conversion fails

Details

Convert WAT (WebAssembly Text) to WASM binary and return as R raw vector

Examples

if (FALSE) { # \dontrun{
wasmer_wat_to_wasm_ext(wat_code)
} # }