Update Home

2025-12-13 20:12:34 +00:00
parent e8e6d789bf
commit bdc1713435

18
Home.md

@@ -31,21 +31,3 @@ dependencies {
implementation("com.infendro:encoding:1.2.0") implementation("com.infendro:encoding:1.2.0")
} }
``` ```
## Usage
```kotlin
import com.infendro.encoding.Base16
fun main() {
// the string to encode
val test = "Hello World!"
.encodeToByteArray().asUByteArray()
// encode the string with the desired encoding
val encoded = Base16.encode(test)
.asByteArray().decodeToString()
println(encoded) // 48656c6c6f20576f726c6421
}
```