package cobs

All checked builds pass
  1. Overview
  2. Docs
Consistent Overhead Byte Stuffing (COBS) encoding and decoding

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.1.1.tar.gz
md5=c8127c6b4b412aacd8300a0ac72cc755
sha512=e175f679ef74d372f2478572ee5d3a576466b6d4b3b813e7c58503854eeb0ccab1ff8e8186e972695ae027d8492249c53ca17bf8329a124631fe0a38bbffbafe

Description

A lightweight Consistent Overhead Byte Stuffing (COBS) encoder and decoder written in pure OCaml with no dependencies

Added to opam-repository:

README

ocaml-cobs

This OCaml library implements a Consistent Overhead Byte Stuffing (COBS) encoder and decoder. COBS is a useful encoding for framing packets in binary streams; it transforms a sequence of bytes to not contain a given delimiter (typically 0x00), allowing you to use that delimiter to separate packets in your stream. It has a consistently low overhead which makes it good for real-time applications.

For more information about the COBS algorithm, see this Wikipedia article.

Dependencies (2)

  1. dune >= "3.15"
  2. ocaml >= "4.08"

Dev Dependencies (3)

  1. odoc with-doc
  2. ounit2 with-test
  3. ocaml with-test & >= "4.13"

Optional Dependencies

None

Used by

None

Conflicts

None

Build status

Results of building cobs with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.1.1 (this version) good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure