Home

Awesome

purescript-arraybuffer-class

Build Status Pursuit

Typeclasses for binary serialization in PureScript.

Note: Although this library shares a lot of features similar to the cereal library from Haskell, it is not yet compatible.

Usage

It should feel fairly similar to Argonaut, but with a binary spin on things - everything is very Effect-ful, and will throw errors if something doesn't line-up as expected.

Just implement the EncodeArrayBuffer and DecodeArrayBuffer typeclasses to support binary serialization for your data type.

Notes