T
- The type of the data that will be written.public interface Encoder<T>
boolean encode(@NonNull T data, @NonNull File file, @NonNull Options options)
data
- The data to write.file
- The File to write the data to.options
- The put of options to apply when encoding.