Compare commits

..

1 Commits

Author SHA1 Message Date
241ffd5e2c Merge pull request '1.4.1 Release' (#11) from develop into main
All checks were successful
/ publish (push) Successful in 3m14s
Reviewed-on: Infendro/bytes-kt#11
2026-03-11 21:22:03 +00:00
3 changed files with 7 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
# bytes.kt
# bytes-kt
`bytes.kt` is a Kotlin Multiplatform library that provides helper functions for working with bytes.
`bytes-kt` is a Kotlin Multiplatform library that provides helper functions for working with bytes.
## Installation
@@ -12,6 +12,6 @@ repositories {
}
commonMain.dependencies {
implementation("com.infendro:bytes:1.4.2")
implementation("com.infendro:bytes:1.4.1")
}
```

View File

@@ -5,7 +5,7 @@ import com.infendro.plugin.token
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl
group = "com.infendro"
version = "1.4.2"
version = "1.4.1"
plugins {
alias(libs.plugins.infendro)

View File

@@ -41,7 +41,7 @@ fun ByteArray.andInto(
}
}
fun ByteArray.andWith(that: ByteArray, startIndex: Int = 0, endIndex: Int = size, thatStartIndex: Int = 0) =
fun ByteArray.andWith(that: ByteArray, startIndex: Int = 0, endIndex: Int = size, thatStartIndex: Int) =
andInto(that, this, startIndex, startIndex, endIndex, thatStartIndex)
fun ByteArray.andWith(that: Byte, startIndex: Int = 0, endIndex: Int = size) =
@@ -95,7 +95,7 @@ fun ByteArray.orInto(
}
}
fun ByteArray.orWith(that: ByteArray, startIndex: Int = 0, endIndex: Int = size, thatStartIndex: Int = 0) =
fun ByteArray.orWith(that: ByteArray, startIndex: Int = 0, endIndex: Int = size, thatStartIndex: Int) =
orInto(that, this, startIndex, startIndex, endIndex, thatStartIndex)
fun ByteArray.orWith(that: Byte, startIndex: Int = 0, endIndex: Int = size) =
@@ -149,7 +149,7 @@ fun ByteArray.xorInto(
}
}
fun ByteArray.xorWith(that: ByteArray, startIndex: Int = 0, endIndex: Int = size, thatStartIndex: Int = 0) =
fun ByteArray.xorWith(that: ByteArray, startIndex: Int = 0, endIndex: Int = size, thatStartIndex: Int) =
xorInto(that, this, startIndex, startIndex, endIndex, thatStartIndex)
fun ByteArray.xorWith(that: Byte, startIndex: Int = 0, endIndex: Int = size) =