Converts the value contained in two or four bytes into an Int. Since Nit

does not have a byte type, Int is used

Property definitions

bitmap $ Bitmap :: get_value
	# Converts the value contained in two or four bytes into an Int. Since Nit
	# does not have a byte type, Int is used
	private fun get_value(array: Array[Int]): Int
	do
		var value = 0
		for x in [0..array.length[ do
			value += array[x] * 256.to_f.pow(x.to_f).to_i
		end
		return value
	end
lib/bitmap/bitmap.nit:186,2--195,4