An open API service indexing awesome lists of open source software.

https://github.com/justincpresley/go-cobs

go-cobs: Go-to Library for Consistent Overhead Byte Stuffing (COBS) with enhanced features, coded in the Go Language.
https://github.com/justincpresley/go-cobs

cobs cobs-algorithm consistent-overhead-byte-stuffing enhanced frames go golang golang-library networking packet-framing protocol stuffing verification

Last synced: 5 months ago
JSON representation

go-cobs: Go-to Library for Consistent Overhead Byte Stuffing (COBS) with enhanced features, coded in the Go Language.

Awesome Lists containing this project

README

          

![Visual](/docs/README_VISUAL.png)

[![Test](https://img.shields.io/github/actions/workflow/status/justincpresley/go-cobs/test.yaml?branch=master&label=Test)][1]
[![CodeFactor](https://img.shields.io/codefactor/grade/github/justincpresley/go-cobs/master?label=CodeFactor)][2]
[![Language](https://img.shields.io/github/go-mod/go-version/justincpresley/go-cobs/master?label=Go)][3]
[![Version](https://img.shields.io/github/v/tag/justincpresley/go-cobs?label=Latest%20version)][4]
[![Commits](https://img.shields.io/github/commits-since/justincpresley/go-cobs/latest/master?label=Unreleased%20commits)][5]
[![License](https://img.shields.io/github/license/justincpresley/go-cobs?label=License)][6]

***go-cobs*** is a [Go](https://go.dev/) library implementing *Consistent Overhead Byte Stuffing* (COBS) functionality.

*What is Consistent Overhead Byte Stuffing?* [Wiki](https://en.wikipedia.org/wiki/Consistent_Overhead_Byte_Stuffing) - [Technical Paper](http://www.stuartcheshire.org/papers/cobsforton.pdf)

The goal of '*COBS*' is to remove a special byte within given data by replacing all special bytes with "flags", a byte telling where the next special byte is. There is minimal overhead with *COBS* as indicated by the paper itself.

## Usage

**It is suggested to try out this library** by running ```go run .``` inside of one the [examples](https://github.com/justincpresley/go-cobs/tree/master/examples) to visualize **go-cobs**.

The full API documentation is available on [pkg.go.dev](https://pkg.go.dev/github.com/justincpresley/go-cobs).

Additionally, [usage](https://github.com/justincpresley/go-cobs/blob/master/docs/USAGE.md) outlines everything you need to know about types, config, and anything that may be unclear outside of the API.

## Notes

***go-cobs*** stands out from other COBS libraries due to [many differences](https://github.com/justincpresley/go-cobs/blob/master/docs/DIFFERENCES.md). This library has discovered advances in COBS that are not stated anywhere else.

## License

***go-cobs*** is an open source project licensed under ISC. See LICENSE.md for more information.

[1]: https://github.com/justincpresley/go-cobs/actions/workflows/test.yaml
[2]: https://www.codefactor.io/repository/github/justincpresley/go-cobs
[3]: https://go.dev/
[4]: https://github.com/justincpresley/go-cobs/releases
[5]: https://github.com/justincpresley/go-cobs/compare/v1.6.0...HEAD
[6]: https://en.wikipedia.org/wiki/ISC_license