https://github.com/abhigyan126/chunk
Encodes large files into smaller chunks and decode them back to the original file.
https://github.com/abhigyan126/chunk
Last synced: 6 months ago
JSON representation
Encodes large files into smaller chunks and decode them back to the original file.
- Host: GitHub
- URL: https://github.com/abhigyan126/chunk
- Owner: Abhigyan126
- Created: 2024-05-11T18:26:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-13T07:27:22.000Z (over 1 year ago)
- Last Synced: 2025-03-26T21:37:50.981Z (7 months ago)
- Language: C++
- Size: 371 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chunk
This program allows you to encode large files into smaller chunks and decode them back to the original file.
## Usage
### Decoding
```bash./chunk decode .
python program_name.py decode input_directory .
./chunk decode container .
```
### Encoding
```bash
./chunk encode
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