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(
|
||||
bytes: ByteArray,
|
||||
) {
|
||||
addAll(bytes.toList())
|
||||
): Boolean {
|
||||
return addAll(bytes.toList())
|
||||
}
|
||||
|
||||
enum class ByteOrder {
|
||||
|
||||
Reference in New Issue
Block a user