adjust return value of addAll utility function

This commit is contained in:
2025-07-20 10:37:49 +02:00
parent 56f1316e43
commit 2a11ec3653

View File

@@ -5,8 +5,8 @@ import com.infendro.hash.util.ByteOrder.LITTLE_ENDIAN
internal fun MutableCollection<Byte>.addAll(
bytes: ByteArray,
) {
addAll(bytes.toList())
): Boolean {
return addAll(bytes.toList())
}
enum class ByteOrder {