ava.io.File&nbsp;file)
                   throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="toStream-java.nio.ByteBuffer-java.io.OutputStream-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toStream</h4>
<pre>public static&nbsp;void&nbsp;toStream(@NonNull
                            java.nio.ByteBuffer&nbsp;byteBuffer,
                            @NonNull
                          