arraybuffer
Bindings and implementation for mutable JavaScript ArrayBuffer
s.
An ArrayBuffer
is a built-in JavaScript object for storage of a flat continuous
region of memory.
The Typed
module provides a view into an ArrayBuffer
for array
access of aligned local-machine-endian types, for in-process flat memory operations.
The DataView
module provides a view into an ArrayBuffer
for inter-process
flat memory operations.
Polyfill
This library relies on runtime implementations of
ArrayBuffer
and
DataView
(Structured Data),
and
TypedArray
(Indexed Collections).
If you want to be sure that those implementations are available in your target runtime environment, you might want to consider using a polyfill such as core-js Typed Arrays.
Related packages
These are some other packages which provide more ArrayBuffer
features.
Reading and Writing
Node.js
UTF
Base64
Development
Run the tests with
spago -x spago-test.dhall test