Compare commits
3 Commits
241ffd5e2c
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
8eb4752fe6
|
|||
|
e8baac9ba3
|
|||
|
d3a67c622c
|
@@ -12,6 +12,6 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
commonMain.dependencies {
|
commonMain.dependencies {
|
||||||
implementation("com.infendro:bytes:1.4.1")
|
implementation("com.infendro:bytes:1.4.2")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import com.infendro.plugin.token
|
|||||||
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl
|
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl
|
||||||
|
|
||||||
group = "com.infendro"
|
group = "com.infendro"
|
||||||
version = "1.4.1"
|
version = "1.4.2"
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
alias(libs.plugins.infendro)
|
alias(libs.plugins.infendro)
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ fun ByteArray.andInto(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fun ByteArray.andWith(that: ByteArray, startIndex: Int = 0, endIndex: Int = size, thatStartIndex: Int) =
|
fun ByteArray.andWith(that: ByteArray, startIndex: Int = 0, endIndex: Int = size, thatStartIndex: Int = 0) =
|
||||||
andInto(that, this, startIndex, startIndex, endIndex, thatStartIndex)
|
andInto(that, this, startIndex, startIndex, endIndex, thatStartIndex)
|
||||||
|
|
||||||
fun ByteArray.andWith(that: Byte, startIndex: Int = 0, endIndex: Int = size) =
|
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) =
|
fun ByteArray.orWith(that: ByteArray, startIndex: Int = 0, endIndex: Int = size, thatStartIndex: Int = 0) =
|
||||||
orInto(that, this, startIndex, startIndex, endIndex, thatStartIndex)
|
orInto(that, this, startIndex, startIndex, endIndex, thatStartIndex)
|
||||||
|
|
||||||
fun ByteArray.orWith(that: Byte, startIndex: Int = 0, endIndex: Int = size) =
|
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) =
|
fun ByteArray.xorWith(that: ByteArray, startIndex: Int = 0, endIndex: Int = size, thatStartIndex: Int = 0) =
|
||||||
xorInto(that, this, startIndex, startIndex, endIndex, thatStartIndex)
|
xorInto(that, this, startIndex, startIndex, endIndex, thatStartIndex)
|
||||||
|
|
||||||
fun ByteArray.xorWith(that: Byte, startIndex: Int = 0, endIndex: Int = size) =
|
fun ByteArray.xorWith(that: Byte, startIndex: Int = 0, endIndex: Int = size) =
|
||||||
|
|||||||
Reference in New Issue
Block a user