module

RNS::BZip2

Class methods

compress(data : Bytes) : Bytes

Compress data using BZip2 (block_size_100k=9 for best compression, matching Python bz2.compress default)

Source
decompress(data : Bytes) : Bytes

Decompress BZip2 data. Automatically grows buffer if needed.

Source

Nested types