Converts the value in an Int to four bytes. Since Nit does not have a byte

type, Int is used.

Property definitions

bitmap $ Bitmap :: set_value
	# Converts the value in an Int to four bytes. Since Nit does not have a byte
	# type, Int is used.
	private fun set_value(array: Array[Int], start_index: Int, value: Int)
	do
		array[start_index] = value & 0x000000FF
		array[start_index + 1] = (value >> 8) & 0x000000FF
		array[start_index + 2] = (value >> 16) & 0x000000FF
		array[start_index + 3] = (value >> 24) & 0x000000FF
	end
lib/bitmap/bitmap.nit:197,2--205,4