package bitstring

  1. Overview
  2. Docs
Bitstrings and bitstring matching for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

v4.1.0.tar.gz
md5=8ae6f04eaa29481c6830ee3be5cba755

README.md.html

OCaml Bitstring Library

Copyright (C) 2008-2016 Red Hat Inc, Richard W.M. Jones.
Copyright (C) 2016-2018 Red Hat Inc, Richard W.M. Jones, Xavier R. Guerin.

The original README content can be found in the README.orig file.

Documentation

The documentation is located here.

How to install

opam install bitstring
opam install ppx_bitstring

How to use

Ocamlfind

ocamlfind c -package bitstring -package ppx_bitstring -linkpkg ...

Dune

(executable
 ((name        foo)
  (libraries   (bitstring))
  (preprocess  (pps (ppx_bitstring)))
  ))

How to build

Dependencies

Required packages are detailed in the dune-project file.

Building the project

$ dune build

Running the tests

$ dune runtest

License

The library is licensed under the LGPL v2 or later, with the OCaml linking exception. See the file COPYING.LIB for full terms. Programs are licensed under the GPL v2 or later. See the file COPYING for full terms. All examples and tests are public domain.