Compare commits

..
2 Commits
Author SHA1 Message Date
Infendro be9a8a4369 bump version to 1.2.4
/ publish (push) Successful in 4m57s
2025-12-12 15:47:47 +01:00
Infendro 96d2c5785f implement String utilities
UByteArray::decodeToString(): String
String::encodeToUByteArray(): UByteArray
2025-12-12 15:44:39 +01:00
3 changed files with 8 additions and 1 deletions

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
group = "com.infendro"
version = "1.2.3"
version = "1.2.4"
repositories {
mavenCentral()
@@ -0,0 +1,4 @@
package com.infendro.bytearray
fun String.encodeToUByteArray(): UByteArray =
encodeToByteArray().toUByteArray()
@@ -2,6 +2,9 @@ package com.infendro.bytearray
import com.infendro.bytearray.ByteOrder.BIG_ENDIAN
fun UByteArray.decodeToString(): String =
toByteArray().decodeToString()
infix fun UByteArray.and(
that: UByteArray,
): UByteArray {