Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hello, how do I use the sdk to do split volume compression #50

Open
Ivan5201314 opened this issue Dec 16, 2022 · 1 comment
Open

Hello, how do I use the sdk to do split volume compression #50

Ivan5201314 opened this issue Dec 16, 2022 · 1 comment

Comments

@Ivan5201314
Copy link

Hello, how do I use the sdk to do split volume compression

@OlehKulykov
Copy link
Owner

OlehKulykov commented Dec 16, 2022

Hi, use PLzmaSDK and not this prototype.

  1. Compression/encoding process uses single output stream to write compressed/encoded data(archive file).
  2. PLzmaSDK provides 3 types of out streams:
    2.1. Out memory stream -> compressed data is written to heap memory.
    2.2. Out path stream -> compressed data is written to a file by path.
    2.3. Out multi stream -> compressed data is written to several internal streams of type 2.1 or 2.2 splitting by part size in bytes.

So, the case 2.3 Out multi stream is yours.

Examples from tests:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants