bump version to 1.3.0

This commit is contained in:
2026-01-17 12:36:16 +01:00
parent 55faf1d670
commit 456f33f2d9
3 changed files with 17 additions and 25 deletions

View File

@@ -7,17 +7,10 @@ Supported encodings:
- Base8 (octal)
- Base16 (hexadecimal)
- Base32
- Base36
- Base62
- Base64
## Targets
| Target | Status |
|------------------|---------------|
| JVM | Supported |
| JavaScript | Supported |
| Native (Linux) | Supported |
| Native (Windows) | Not Supported |
## Installation
Add the following to your `build.gradle.kts`.
@@ -28,23 +21,19 @@ repositories {
}
dependencies {
implementation("com.infendro:encoding:1.2.0")
implementation("com.infendro:encoding:1.3.0")
}
```
## Usage
```kotlin
import com.infendro.encoding.Base16
fun main() {
// the string to encode
val test = "Hello World!"
.encodeToByteArray().asUByteArray()
val test = "Hello World!".encodeToByteArray()
// encode the string with the desired encoding
val encoded = Base16.encode(test)
.asByteArray().decodeToString()
val encoded = Base16.encode(test).decodeToString()
println(encoded) // 48656c6c6f20576f726c6421
}