title: kotlin reading from file into byte array
body: <p>How do I read bytes into a Byte Array?  In java I used to initialize byte array as <code>byte[] b = new byte[100]</code> and then pass that to the corresponding method. However in Kotlin, I am unable to initialize <code>ByteArray</code> with how many bytes the buffer should have.</p>
  
  <p>In other words, how do I use this function?:
  <a href="https://developer.android.com/reference/kotlin/java/io/RandomAccessFile#read(kotlin.ByteArray)" rel="noreferrer">https://developer.android.com/reference/kotlin/java/io/RandomAccessFile#read(kotlin.ByteArray)</a></p>