adjust return value of addAll utility function
This commit is contained in:
1 file changed
+2
-2
@@ -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