tinycompress.rlebΒΆ

Run-Length Encoding for Bytes (RLEB) compression algorithm.

This module implements the RLEB compression algorithm, which combines run-length encoding with bit flags to efficiently compress data that contains repeated bytes.

Functions

compress

Compresses data using the RLEB algorithm.

decompress

Decompresses RLEB-compressed data.

main

Command-line interface for RLEB compression/decompression.

open

Opens an RLEB compressed file.

Classes

RLEBCompressor

RLEB compression implementation.

RLEBDecompressor

RLEB decompression implementation.

RLEBFile

File-like object for reading/writing RLEB compressed files.

Exceptions

RLEBException

Exception raised for RLEB compression/decompression errors.