fix build
All checks were successful
/ publish (push) Successful in 3m56s

This commit is contained in:
2025-11-10 13:59:55 +01:00
parent 694c44d7d5
commit f647abc0a4
3 changed files with 8 additions and 74 deletions

View File

@@ -77,7 +77,7 @@ fun ByteArray.toIntArray(
return toList()
.chunked(4)
.map { it.toInt(order) }
.map { it.toByteArray().toInt(order) }
.toIntArray()
}
@@ -99,7 +99,7 @@ fun ByteArray.toLongArray(
return toList()
.chunked(8)
.map { it.toLong(order) }
.map { it.toByteArray().toLong(order) }
.toLongArray()
}
@@ -121,7 +121,7 @@ fun ByteArray.toUIntArray(
return toList()
.chunked(4)
.map { it.toUInt(order) }
.map { it.toByteArray().toUInt(order) }
.toUIntArray()
}
@@ -143,6 +143,6 @@ fun ByteArray.toULongArray(
return toList()
.chunked(8)
.map { it.toULong(order) }
.map { it.toByteArray().toULong(order) }
.toULongArray()
}