  java.io.OutputStream&nbsp;os)
                     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="toBytes-java.nio.ByteBuffer-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toBytes</h4>
<pre>@NonNull
public static&nbsp;byte[]&nbsp;toBytes(@NonNull
                                      java.nio.ByteBuffer&nbsp;byteBuffer)</pre>
</li>
</ul>
<a name="toStream-java.nio.ByteBuffer