title: How to Base64 encode an IntArray in Kotlin
body: <p>How to base64 encode a buff of <code>intArrayOf</code> using Kotlin.</p>
  
  <pre><code>val vec = intArrayOf(1,2,3,4,5)
  val data =?!
  val base64Encoded = Base64.encodeToString(data, Base64.DEFAULT);
  </code></pre>