Reads source file, decompresses it and writes the result in destination file
(source_path: str, destination_path: str)
| 98 | |
| 99 | |
| 100 | def compress(source_path: str, destination_path: str) -> None: |
| 101 | """ |
| 102 | Reads source file, decompresses it and writes the result in destination file |
| 103 | """ |
| 104 | data_bits = read_file_binary(source_path) |
| 105 | data_bits = remove_prefix(data_bits) |
| 106 | decompressed = decompress_data(data_bits) |
| 107 | write_file_binary(destination_path, decompressed) |
| 108 | |
| 109 | |
| 110 | if __name__ == "__main__": |
no test coverage detected