@hackage borsh0.3.0
Implementation of BORSH serialisation
Categories
License
BSD-3-Clause
Maintainer
edsko@well-typed.com
Links
Versions
Installation
Tested Compilers
Dependencies (8)
- base >=4.12 && <4.19
- bytestring >=0.10 && <0.12
- containers >=0.6 && <0.7
- generics-sop >=0.5 && <0.6
- sop-core >=0.5 && <0.6
- text >=1.2 && <2.1 Show all…
Dependents (1)
@hackage/hsrs
This package provides type classes and combinators for serialisation/deserialisation to/from Borsh format. Unlike CBOR, Borsh is a non self-describing serialisation format. It is designed such that any object serialises to a canonical and deterministic string of bytes.
The library supports incremental encoding and incremental decoding, and
supports the use of the ST monad in the decoder for efficient decoding for
types such as arrays. However, the library has currently not been optimized
for speed, and there may well be low-hanging fruit to make it faster.