title: How to require typesafe constant-size array in scala?
body: <p>I need something like this:</p>
  <pre><code>  def encryptBlock(arr: FixedArray[Size16]) = ???
    val blocks = originalArray.splitFixed[Size16]
    val encrypted = encryptBlock(blocks)
    
  </code></pre>
  <p>In order to be sure that I receive only 128-bit array as input.</p>