package cobs
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.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page