#consistent #byte #overhead #stuffing

cobs

This is an implementation of the Consistent Overhead Byte Stuffing (COBS) algorithm. COBS is an algorithm for transforming a message into an encoding where a specific value (the “sentinel” value) is not used. This value can then be used to mark frame boundaries in a serial communication channel.

5 releases

✓ Uses Rust 2018 edition

0.1.4 Apr 2, 2019
0.1.3 Dec 21, 2017
0.1.2 Jan 15, 2016
0.1.1 Aug 5, 2015
0.1.0 Jun 27, 2015

#133 in Algorithms

Download history 77/week @ 2019-12-14 51/week @ 2019-12-21 55/week @ 2019-12-28 57/week @ 2020-01-04 109/week @ 2020-01-11 69/week @ 2020-01-18 71/week @ 2020-01-25 115/week @ 2020-02-01 92/week @ 2020-02-08 196/week @ 2020-02-15 192/week @ 2020-02-22 114/week @ 2020-02-29 124/week @ 2020-03-07 107/week @ 2020-03-14 150/week @ 2020-03-21 129/week @ 2020-03-28

465 downloads per month
Used in 4 crates

MIT/Apache

17KB
228 lines

COBS.rs

Build Status

This is an implementation of the Consistent Overhead Byte Stuffing (COBS) algorithm in Rust.

COBS is an algorithm for transforming a message into an encoding where a specific value (the "sentinel" value) is not used. This value can then be used to mark frame boundaries in a serial communication channel.

See www.wikipedia.org/wiki/Consistent_Overhead_Byte_Stuffing for details.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

No runtime deps