refactor lib structure

This commit is contained in:
2025-12-13 14:49:00 +01:00
parent 3ab2bea4f6
commit f5d559e8fe
28 changed files with 1017 additions and 1301 deletions

View File

@@ -16,7 +16,4 @@ fun ByteArray.normalize(
fun UByteArray.normalize(
order: ByteOrder,
): UByteArray = when (order) {
BIG_ENDIAN -> this
LITTLE_ENDIAN -> reversedArray()
}
): UByteArray = asByteArray().normalize(order).asUByteArray()