Skip to content

Experimental transference of arrays via base64 encoded strings to enable working with Arrays and other more complex data types, until the Multi-Value- and Interface-Type Proposals leave experimental state.

Notifications You must be signed in to change notification settings

wolfedme/rust-wasm-base64-interaction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Working with Arrays between WebAssembly & Rust

Experimental transference of arrays via ´BASE64´ encoded strings to enable working with Arrays and other more complex data types, until the Multi-Value- and Interface-Type Proposals leave experimental state.

´BASE64´ strings get written into the modules memory and functions only return pointers to these strings, which contain a termination sequence to indicate, when the string ends.

Using

Run module-host with cargo run or modify guest-module and build via Makefile make, then copy compiled wasm module in module-host/src

About

Experimental transference of arrays via base64 encoded strings to enable working with Arrays and other more complex data types, until the Multi-Value- and Interface-Type Proposals leave experimental state.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published