Class representing a bz2 compressor
     
    
    Details
    Bz2 compressor for Zarr
     
    
    
    Public fields
    level 
The compression level.
 
 
     
    
    Methods
Method new()
Create a new Bz2 compressor.
Arguments
level 
The compression level, between 1 and 22.
 
... 
not used
 
 
 
Returns
A new Bz2Codec object.
 
 
Method encode()
Compress data.
Usage
Bz2Codec$encode(buf, zarr_arr)
 
 
Arguments
buf 
The un-compressed data.
 
zarr_arr 
The ZarrArray instance.
 
 
 
 
Method decode()
Decompress data.
Usage
Bz2Codec$decode(buf, zarr_arr)
 
 
Arguments
buf 
The compressed data.
 
zarr_arr 
The ZarrArray instance.
 
 
 
Returns
Un-compressed data.
 
 
Method get_config()
Get Configuration
 
Method clone()
The objects of this class are cloneable with this method.
Usage
Bz2Codec$clone(deep = FALSE)
 
 
Arguments
deep 
Whether to make a deep clone.