I am trying to solve a (possibly) trivial problem. I would like a nice, concise way to instantiate Array of bytes based on range. So far this works
Array(1 : Byte, 2 : Byte)
but I would like to use sth like
((1: Byte) to (10: Byte)).toArray
this is however Array[Int].