# Yet Another [LZ77](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-wusp/fb98aa28-5cd7-407f-8869-a6cef1ff1ccb) Compression Algorithm A small library providing basic compression and decompression of data using the LZ77 compression algorithm. ## Usage ```rust fn main() { // Search buffer size | Lookahead buffer size let lz77 = LZ77Compressor::new(6, 6); let compressed_blocks = lz77.compress("ababcbababaa"); println!("{:?}", compressed_blocks); let decompressed_bytes = LZ77::decompress(&compressed_blocks); println!("{:?}", decompressed_bytes); } ```