toUIntArrayRepresentedAsTypedUByteArray

abstract fun toUIntArrayRepresentedAsTypedUByteArray(operand: UIntArray, endianness: Endianness = Endianness.BIG): Array<UByte>

Converts an UIntArray into a byte array representation, with consideration to requested endianness

E.g. Input UIntArray: 0xAABBCCDDU, 0x11223344 Output UByteArray Little endian: 0xDD, 0xCC, 0xBB, 0xAA, 0x44, 0x33, 0x22, 0x11 Big endian: 0xAA, 0xBB, 0xCC, 0xDD, 0x11, 0x22, 0x33, 0x44