Converts an integer into a byte array with little endian format.
To int. The byte array is expected to be in Little Endian format.