Published
Edited
Jun 27, 2019
1 star
Insert cell
Insert cell
memory = new WebAssembly.Memory({ initial:10, maximum:100 });
Insert cell
Insert cell
testInt = new Uint32Array(memory.buffer)
Insert cell
testInt[0] = 42;
Insert cell
testInt[0]
Insert cell
Insert cell
memory.buffer
Insert cell
DOM.download(
new Blob([memory.buffer], { type: 'application/octet-binary;charset=utf-8' }),
"memory.wasm.json"
)
Insert cell
Insert cell
viewof dataFile = html`<input type=file>`
Insert cell
loadedFile = Files.buffer(dataFile)
Insert cell
Insert cell
new Uint32Array(loadedFile)[0]
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more