Encoding
Configurable, streamable, efficient and extensible encoding/decoding for Kotlin Multiplatform.
Install / Use
/learn @05nelsonm/EncodingREADME
encoding
Configurable, streamable, efficient and extensible encoding/decoding for Kotlin Multiplatform.
Modules
API Docs
Sample
Get Started
<!-- TAG_VERSION -->// 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")
}
<!-- TAG_VERSION -->
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")
}
<!-- TAG_VERSION -->
<!-- TAG_DEPENDENCIES -->
<!-- TAG_PLATFORMS -->