 ...<br>val byteArrayFlow = filePath.readAsFlow(1024)<br>byteArrayFlow.collect { bytes -&gt; ... }</code></pre><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></span><h4 class="">Parameters</h4><div class="table"><div class="table-row" data-filterable-current=":connector:connector-file:dokkaHtmlPartial/jvmMain" data-filterable-set=":connector:connector