Tour de WebAssembly Tabla de Contenidos

[Untranslated] Exporting Memory

WebAssembly programs export their memory as a long array of bytes (up to 4GB!).

The host can interpret from these bytes the data structures created by the program's code.

Arrays of bytes can also be written directly into a program's memory from the host.

Writing/reading bytes to/from a WebAssembly programs memory is the primary means of input and output of non-primitive types.

Mascot Ferris