BSD-3-Clause licensed by Alexey Kuleshevich
This version can be pinned in stack with:mempack-0.2.1.0@sha256:30ffa944c1f2d0ac1e982f5dd48f30927b6316070ef6f5253faaa477fef71ac8,3446
Module documentation for 0.2.1.0
Changelog for mempack
0.2.1.0
- Support building with
wasm
0.2.0.0
- Add
mkBuffer, bufferHasToBePinned and packBuffer
- Add an offset to the
buffer function in order to support types that don’t use the full
underlying buffer.
- Add
Buffer and MemPack instances for PrimArray and older definition of ByteArray from primitive.
- Add
MemPack instances for Array from primitive.
- Switch
Unpack monad to be based on the ST monad.
- Add
packLiftST and unpackLiftST
- Add
withForeignPtrST and withAddrByteStringST
- Add
Buffer instances for primitive and storable Vectors
0.1.2.0
0.1.1.0
- Add helpers
packByteStringM, unpackByteStringM and unpackByteArrayLen
- Add
MemPack instance for lazy ByteString
- Add
MemPack instance for Text
- Add
MemPack instance for Void
- Add
packWithByteArray and packWithMutableByteArray
- Fix infinite loop during list decoding when length encoded was negative
0.1.0.0