| Crates.io | arle |
| lib.rs | arle |
| version | 1.0.0 |
| created_at | 2025-07-07 14:59:07.604924+00 |
| updated_at | 2025-07-07 14:59:07.604924+00 |
| description | Adaptive Run-Length Encoder |
| homepage | |
| repository | https://github.com/atirut-w/arle |
| max_upload_size | |
| id | 1741415 |
| size | 13,299 |
Arle is a compression and decompression tool inspired by Adrien Soursou's implementation of Run-Length Encoding, where the compressed data is split into chunks prefixed with a single byte header indicating whether the chunk is compressed or not, and the length of the chunk.
The difference is that Arle uses a slightly different format for the header, where the most significant bit indicates if the chunk is a literal chunk (not compressed) or a compressed chunk, and the remaining 7 bits indicate the length of the chunk, and a chunk with a length of 0 is considered a termination chunk.