binary-ext: Binary serialisation for Haskell values using lazy ByteStrings

[ data, library, parsing ] [ Propose Tags ]

Efficient, pure binary serialisation using lazy ByteStrings. Haskell values may be encoded to and from binary formats, written to disk as binary, or sent over the network. The format used can be automatically generated, or you can choose to implement a custom format if needed. Serialisation speeds of over 1 G/sec have been observed, so this library should be suitable for high performance scenarios.


[Skip to Readme]
Versions [faq] 0.8.4.1, 1.0, 1.0.8.5.1, 2.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4
Dependencies array, base (>=4.5.0.0 && <5), binary, bytestring (>=0.10.2), containers, ghc-prim [details]
License BSD-3-Clause
Author Lennart Kolmodin <kolmodin@gmail.com>
Maintainer Lennart Kolmodin, Don Stewart <dons00@gmail.com>
Category Data, Parsing
Home page https://github.com/kolmodin/binary
Source repo head: git clone git://github.com/A1-Triard/binary-ext.git
Uploaded by warlock at Fri Dec 30 21:31:51 UTC 2016
Distributions LTSHaskell:2.0.4, NixOS:2.0.4, Stackage:2.0.4
Downloads 2878 total (291 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2016-12-30 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for binary-ext-0.8.4.1

[back to package description]

binary-ext package

An alternate with typed errors for Data.Binary.Get monad from binary library.

Building binary-ext

Here's how to get the latest version of the repository and build.

$ git clone https://github.com/A1-Triard/binary-ext.git
$ cd binary-ext
$ stack build

Run the test suite.

$ stack test

Using binary-ext

First:

import Data.Binary.Put
import Data.Binary.Get.Ext

and then use the Get and Put monads to serialize/deserialize.

More information in the haddock documentation.