ta to the given output stream and returns True if the write completed successfully and
 should be committed.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/bumptech/glide/load/Encoder.html#encode(T, java.io.OutputStream)">encode</A></CODE> in interface <CODE><A HREF="../../../../../com/bumptech/glide/load/Encoder.html" title="interface in com.bumptech.glide.load">Encoder</A>&lt;<A HREF="../../../../../com/bumptech/glide/load/engine/Resource.html" title="interface in com.bumptech.