Skip to content

cobs_codec 1.2.0 (Kotlin/Android)

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Jul 22:55
v1.2.0
7d4befe

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.io framing streamsCobsFramedOutputStream / CobsFramedInputStream write and read 0x00-delimited COBS frames over any OutputStream / InputStream.
  • Coroutines Flow APIFlow<ByteArray>.cobsFrames() frames a flow of packets. kotlinx-coroutines is compileOnly, so no runtime dependency is imposed on consumers that don't use it.
  • In-place COBS/R decodeCobsr.decodeInPlace (with a sentinel overload) 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.