Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/merlin04/ocaml-cobs
Consistent Overhead Byte Stuffing (COBS) encoding and decoding in OCaml
https://github.com/merlin04/ocaml-cobs
Last synced: about 4 hours ago
JSON representation
Consistent Overhead Byte Stuffing (COBS) encoding and decoding in OCaml
- Host: GitHub
- URL: https://github.com/merlin04/ocaml-cobs
- Owner: Merlin04
- License: mit
- Created: 2024-06-02T22:51:38.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-06-09T06:28:54.000Z (5 months ago)
- Last Synced: 2024-06-09T07:35:48.866Z (5 months ago)
- Language: OCaml
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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](https://en.wikipedia.org/wiki/Consistent_Overhead_Byte_Stuffing).