CompressedInputStream
and CompressedOutputStream
allow you to apply a compression Codec to an
input or output stream.
The CompressedInputStream$create()
and CompressedOutputStream$create()
factory methods instantiate the object and take the following arguments:
stream
An InputStream or OutputStream, respectively
codec
A Codec
, either a Codec instance or a string
compression_level
compression level for when the codec
argument is given as a string
Methods are inherited from InputStream and OutputStream, respectively
arrow::Object
-> arrow::Writable
-> arrow::OutputStream
-> CompressedOutputStream
clone()
The objects of this class are cloneable with this method.
CompressedOutputStream$clone(deep = FALSE)
deep
Whether to make a deep clone.
arrow::Object
-> arrow::Readable
-> arrow::InputStream
-> CompressedInputStream
clone()
The objects of this class are cloneable with this method.
CompressedInputStream$clone(deep = FALSE)
deep
Whether to make a deep clone.