An open API service indexing awesome lists of open source software.

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.

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