convertAnyToUInt8Array

Converts any compatible data type to a ByteArray in Little-Endian format.