public class StreamEncoder extends Object implements Encoder<InputStream>
Encoder
that can write an InputStream
to
disk.构造器和说明 |
---|
StreamEncoder(ArrayPool byteArrayPool) |
public StreamEncoder(ArrayPool byteArrayPool)
public boolean encode(@NonNull InputStream data, @NonNull File file, @NonNull Options options)
Encoder
encode
在接口中 Encoder<InputStream>
data
- The data to write.file
- The File to write the data to.options
- The put of options to apply when encoding.