/Chunk

Encodes large files into smaller chunks and decode them back to the original file.

Primary LanguageC++

Chunk

This program allows you to encode large files into smaller chunks and decode them back to the original file.

Usage

Decoding

./chunk decode <input_directory> .
python program_name.py decode input_directory .
./chunk decode container .

Encoding

./chunk encode <input_file> <output_directory> <chunk_size>
python program_name.py encode input_file output_directory chunk_size
./chunk encode image.webp container 1048576
encodes image.webp to 1mb chunk

Compile code

clang++/g++ -std=c++17 -o Chunk chunk.cpp   

Requirements C++17 Compiler with C++17 support