Wasm::Wasmtime::Wat2Wasm - Convert WebAssembly Text to Wasm
version 0.23
use Wasm::Wasmtime::Wat2Wasm; my $wasm = wat2wasm('(module)');
WARNING: WebAssembly and Wasmtime are a moving target and the interface for these modules is under active development. Use with caution.
This module provides wat2wasm
, a function for converting WebAssembly Text to WebAssembly binary format (Wasm). It is exported by default.
my $wasm = wat2wasm($wat);
Takes WebAssembly Text $wat
and converts it into the WebAssembly binary $wasm
.
Graham Ollis <plicease@cpan.org>
This software is copyright (c) 2020-2022 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.