public class ByteBufferEncoder extends Object implements Encoder<ByteBuffer>
ByteBuffers
to Files
.构造器和说明 |
---|
ByteBufferEncoder() |
public boolean encode(@NonNull ByteBuffer data, @NonNull File file, @NonNull Options options)
Encoder
encode
在接口中 Encoder<ByteBuffer>
data
- The data to write.file
- The File to write the data to.options
- The put of options to apply when encoding.