cobs_codec 1.2.0 (Kotlin / Android)
Additive, backward-compatible release — byte-identical to the Rust, Dart, and Swift members of the Firechip COBS family.
✨ New features
java.ioframing streams —CobsFramedOutputStream/CobsFramedInputStreamwrite and read0x00-delimited COBS frames over anyOutputStream/InputStream.- Coroutines
FlowAPI —Flow<ByteArray>.cobsFrames()frames a flow of packets.kotlinx-coroutinesiscompileOnly, so no runtime dependency is imposed on consumers that don't use it. - In-place COBS/R decode —
Cobsr.decodeInPlace(with asentineloverload) decodes the reduced codec within the same buffer.
🔧 Tooling
- An (env-gated) JVM throughput micro-benchmark.
- Conformance now also covers the configurable-sentinel and decode-error vectors.
📦 Install
Published to GitHub Packages (Maven) as dev.firechip:cobs_codec — declare the GitHub Packages repository, then:
implementation("dev.firechip:cobs_codec:1.2.0")Or drop in the attached artifact directly, no repository needed:
implementation(files("libs/cobs_codec-1.2.0.aar"))The attached cobs_codec-1.2.0.aar is the exact published Android library.