Module: ninty.yaz0

def compress(data: bytes, window_size: int) -> bytes
Compresses data using the Yaz0 algorithm. The window_size should be between 0 (fastest compression) and 4096 (strongest compression).

def decompress(data: bytes, decompressed_size: int) -> bytes
Decompresses data using the Yaz0 algorithm.