-
- All Implemented Interfaces:
-
com.mobwith.imgmodule.load.Encoder
public class ByteBufferEncoder implements Encoder<ByteBuffer>
Writes ByteBuffers to Files.
-
-
Method Summary
-
-
Method Detail
-
encode
boolean encode(@NonNull() ByteBuffer data, @NonNull() File file, @NonNull() Options options)
Writes the given data to the given output stream and returns True if the write completedsuccessfully and should be committed.
- Parameters:
data- The data to write.file- The file to write the data to.options- The set of options to apply when encoding.
-
-
-
-