T
- The type of the data that will be written.public interface Encoder<T>
Modifier and Type | Method and Description |
---|---|
boolean |
encode(T data,
java.io.File file,
Options options)
Writes the given data to the given output stream and returns True if the write completed
successfully and should be committed.
|
boolean encode(@NonNull T data, @NonNull java.io.File file, @NonNull Options options)
data
- The data to write.file
- The file to write the data to.options
- The set of options to apply when encoding.