- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="encode-java.nio.ByteBuffer-java.io.File-com.bumptech.glide.load.Options-">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>encode</h4>
<pre>public&nbsp;boolean&nbsp;encode(@NonNull
                      java.nio.ByteBuffer&nbsp;data,
                      @NonNull
                      java.io.File&nbsp;file,
                 