XUtils

purescript-arraybuffer

Bindings to the ArrayBuffer JavaScript type.


arraybuffer

CI Release Pursuit Maintainer: jacereda Maintainer: jamesdbrock

Bindings and implementation for mutable JavaScript ArrayBuffers.

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.

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

Articles

  • coming soon...