So i want to use Byte and Short to decrease memory usage, but some methods asks explicitly for Int.
private val numberOne : Byte = 50
someMethodAskingInt(numberOne.toInt())
If i convert a variable to Int with .toInt()
will it get more space in memory?
Will it even be worth it to use Byte or Short in those cases?