package cobs

  1. Overview
  2. Docs
Consistent Overhead Byte Stuffing (COBS) encoding and decoding

Install

Dune 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

Published: 12 Jun 2024

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"

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.