adjust return value of addAll utility function
This commit is contained in:
@@ -5,8 +5,8 @@ import com.infendro.hash.util.ByteOrder.LITTLE_ENDIAN
|
|||||||
|
|
||||||
internal fun MutableCollection<Byte>.addAll(
|
internal fun MutableCollection<Byte>.addAll(
|
||||||
bytes: ByteArray,
|
bytes: ByteArray,
|
||||||
) {
|
): Boolean {
|
||||||
addAll(bytes.toList())
|
return addAll(bytes.toList())
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class ByteOrder {
|
enum class ByteOrder {
|
||||||
|
|||||||
Reference in New Issue
Block a user