caerbannog: That rabbit's got a vicious streak a mile wide!

[ bsd3, data, library, parsing ] [ Propose Tags ]

Caerbannog is a drop in replacement for the binary-bits package. Unlike binary-bits Caerbannog works with GHC 8.10, 8.8, and 8.6.

The original package description of binary-bits at version 0.5 was: "Bit parsing/writing on top of binary. Provides functions to read and write bits to and from 8/16/32/64 words."

Caerbannog allows you to do bit level gets and puts on top of the interface provided by the binary package. This can be useful for parsing or generating binary formats that are not byte aligned.

There are many names for these types of actions: get and put, read and write, parse and generate, deserialize and serialize, decode and encode. Caerbannog doesn't care which word you use. It'll work anyway.


[Skip to Readme]

Flags

Manual Flags

NameDescriptionDefault
pedantic

Enables -Werror, which turns warnings into errors.

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.6.0.2, 0.6.0.3, 0.6.0.4, 0.6.0.5, 0.6.1.0, 0.6.1.1, 1.0.0.0, 1.0.0.1, 1.0.0.2
Change log CHANGELOG.markdown
Dependencies base (>=4.13.0 && <4.17), binary (>=0.8.7 && <0.9), bytestring (>=0.10.10 && <0.12) [details]
License BSD-3-Clause
Author Lennart Kolmodin
Maintainer Taylor Fausak
Category Data, Parsing
Source repo head: git clone https://github.com/tfausak/caerbannog
Uploaded by fozworth at 2022-01-08T16:54:42Z
Distributions
Reverse Dependencies 1 direct, 1 indirect [details]
Downloads 1012 total (20 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-01-08 [all 1 reports]

Readme for caerbannog-1.0.0.0

[back to package description]

Caerbannog

CI Hackage Stackage

Caerbannog is a fork of binary-bits that supports more recent versions of GHC. Documentation is available on Hackage: https://hackage.haskell.org/package/caerbannog.