Skip to content

Repository files navigation

encoding

badge-licensebadge-latest

badge-kotlin

badge-platform-androidbadge-platform-jvmbadge-platform-jsbadge-platform-js-nodebadge-platform-wasmbadge-platform-wasibadge-platform-linuxbadge-platform-macosbadge-platform-iosbadge-platform-tvosbadge-platform-watchosbadge-platform-windowsbadge-platform-android-native

Configurable, streamable, efficient and extensible encoding/decoding for Kotlin Multiplatform.

Modules

API Docs

Sample

Get Started

// build.gradle.kts
dependencies {
val encoding ="2.6.0"
implementation("io.matthewnelson.encoding:base16:$encoding")
implementation("io.matthewnelson.encoding:base32:$encoding")
implementation("io.matthewnelson.encoding:base64:$encoding")
implementation("io.matthewnelson.encoding:utf8:$encoding")
// Only necessary if you just want the abstractions to create your own EncoderDecoder(s)
implementation("io.matthewnelson.encoding:core:$encoding")
}

Alternatively, you can use the BOM.

// build.gradle.kts
dependencies {
// define the BOM and its version
implementation(project.dependencies.platform("io.matthewnelson.encoding:bom:2.6.0"))
// define artifacts without version
implementation("io.matthewnelson.encoding:base16")
implementation("io.matthewnelson.encoding:base32")
implementation("io.matthewnelson.encoding:base64")
implementation("io.matthewnelson.encoding:utf8")
// Only necessary if you just want the abstractions to create your own EncoderDecoder(s)
implementation("io.matthewnelson.encoding:core")
}

Releases

Packages

Used by

Contributors

Languages