Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0daa5d68a4
|
||
|
|
bd9531b60b
|
No files matched your search
+1
-1
@@ -1,5 +1,5 @@
|
||||
group = "com.infendro"
|
||||
version = "1.2.0"
|
||||
version = "1.2.1"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
||||
@@ -52,10 +52,10 @@ fun ByteArray.padEnd(
|
||||
padByte: Byte,
|
||||
): ByteArray {
|
||||
return buildList {
|
||||
addAll(this)
|
||||
repeat(length - size) {
|
||||
add(padByte)
|
||||
}
|
||||
addAll(this)
|
||||
}.toByteArray()
|
||||
}
|
||||
|
||||
|
||||
@@ -49,10 +49,10 @@ fun UByteArray.padEnd(
|
||||
padByte: UByte,
|
||||
): UByteArray {
|
||||
return buildList {
|
||||
addAll(this)
|
||||
repeat(length - size) {
|
||||
add(padByte)
|
||||
}
|
||||
addAll(this)
|
||||
}.toUByteArray()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user