pipes-binary

Encode and decode binary streams using the pipes and binary libraries.

https://github.com/k0001/pipes-binary

LTS Haskell 22.43:0.4.4
Stackage Nightly 2024-11-24:0.4.4
Latest on Hackage:0.4.4

See all snapshots pipes-binary appears in

BSD-3-Clause licensed by Renzo Carbonara
Maintained by renλren.zone
This version can be pinned in stack with:pipes-binary-0.4.4@sha256:2f4dfa2c070809461138ac3b05dfa748688174a0a92250db5fc52a4ace5b7fad,1802

Module documentation for 0.4.4

pipes-binary

Utilities to encode and decode binary streams using the pipes and binary libraries.

Check the source or rendered Haddocks for extensive documentation.

This code is licensed under the terms of the so called 3-clause BSD license. Read the file named LICENSE found in this same directory for details.

See the PEOPLE file to learn about the people involved in this effort. Consider mentioning your name in this file if you are contributing to the project.

Changes

Version 0.4.4

  • Support transformers >= 0.7.0.

Version 0.4.3

  • Builds with GHC 9.0.1.

  • Producer' replaced with Proxy. See pipes issue #224.

  • Use QuickCheck instead of SmallCheck for tests.

Version 0.4.2

  • Remove upper bound on dependencies other than base.

Version 0.4.1

  • Fix #24 - skip leading empty chunks when decoding.

  • Upper bound dependency bumps (transformers, binary).

Version 0.4.0.5

  • Upper bound dependency bumps (tasty).

Version 0.4.0.4

  • Upper bound dependency bumps (lens-family-core).

Version 0.4.0.3

  • Upper bound dependency bumps (pipes-bytestring).

Version 0.4.0.2

  • Upper bound dependency bumps (pipes-bytestring).

Version 0.4.0.1

  • Upper bound dependency bumps (tests).

Version 0.4.0

  • Generalized encode and encodePut to Producer's.

  • decoded and decodedL are now Lens', not Iso' anymore.

Version 0.3.0.1

  • Add dependency on ghc-prim, needed for GHC 7.4.2.

Version 0.3.0

  • API revamped in order to support pipes-parse-3.0.0.

Version 0.2.1

  • Re-export Put and Binary from the binary package.

  • Use isEndOfBytes from the pipes-bytestring package.

Version 0.2.0

  • API revamped in order to support pipes-4.0.0 and pipes-parse-2.0.0.

  • Added functions that act directly upon Put and Get monads: encodePut, decodeGet, decodeGetMany.

  • Decoding functions now report the number of bytes that were consumed in order to decode a value.

  • Re-export Get and ByteOffset from the binary package.

Version 0.1.0.0

  • Initial version.