Compare commits

...

2 Commits

Author SHA1 Message Date
0daa5d68a4 bump version to 1.2.1
All checks were successful
/ publish (push) Successful in 2m32s
2025-11-10 15:52:46 +01:00
bd9531b60b fix padEnd 2025-11-10 15:52:24 +01:00
3 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
group = "com.infendro"
version = "1.2.0"
version = "1.2.1"
repositories {
mavenCentral()

View File

@@ -52,10 +52,10 @@ fun ByteArray.padEnd(
padByte: Byte,
): ByteArray {
return buildList {
addAll(this)
repeat(length - size) {
add(padByte)
}
addAll(this)
}.toByteArray()
}

View File

@@ -49,10 +49,10 @@ fun UByteArray.padEnd(
padByte: UByte,
): UByteArray {
return buildList {
addAll(this)
repeat(length - size) {
add(padByte)
}
addAll(this)
}.toUByteArray()
}