BSD-3-Clause licensed by Alexey Kuleshevich
This version can be pinned in stack with:mempack-0.2.0.0@sha256:596577bc74650a405eac3d8c1a4976d53dc09a9226fa6fee6420cb2296febeb5,3325
Module documentation for 0.2.0.0
Changelog for mempack
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