A lightweight Kotlin library for Base128 encoding and decoding operations. For fun and practice.
- Base128 Encoding/Decoding: Convert binary data to Base128 format and vice versa
- Stream Support: Includes
Base128InputStreamDecoderfor processing data streams - Pure Kotlin: Written in Kotlin with Java interoperability
- Well Tested: Comprehensive test suite with property-based testing using jqwik
The library provides simple encode/decode functionality through the Base128 object:
// Encode data
val encoded = Base128.encode(byteArray)
// Decode data
val decoded = Base128.decode(encodedData)This project uses Gradle with Kotlin. Clone the repository and build:
./gradlew build