title: convert filepart to byteArray
body: <p>In my spring application, I am getting FilePart object and need to convert it to byteArray.</p>
  <p>Below is my code.</p>
  <pre><code>val byteArray: ByteArray = file.content().map { it -&gt; it.asInputStream().readBytes() }.blockLast()!!
  </code></pre>
  <p>But it is giving me error as</p>
  <p>java.lang.IllegalStateException: block()/blockFirst()/blockLast() are blocking, which is not supported in thread reactor-http-kqueue-3</p>