T - The type of the data that will be written.public interface Encoder<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
encode(T data,
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(T data, File file, Options options)
data - The data to write.file - The File to write the data to.options - The put of options to apply when encoding.