go-cobs is a Go library implementing Consistent Overhead Byte Stuffing (COBS) functionality.
What is Consistent Overhead Byte Stuffing? Wiki - Technical Paper
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.
It is suggested to try out this library by running go run .
inside of one the examples to visualize go-cobs.
The full API documentation is available on pkg.go.dev.
Additionally, usage outlines everything you need to know about types, config, and anything that may be unclear outside of the API.
go-cobs stands out from other COBS libraries due to many differences. This library has discovered advances in COBS that are not stated anywhere else.
go-cobs is an open source project licensed under ISC. See LICENSE.md for more information.