Comments (2)
Extracting/decoding
- Create array for adding InStreams.
- For each archive part, create InStream(file | mem) and add to array from step 1.
- Create InStream with array from step 1.
- Create decoder with InStream from step 3.
- Decode.
Compressing/encoding
- Create OutMultiStream for archive parts and keep reference.
- Create encoder with OutMultiStream from step 1.
- Setup encoder, add files, set password etc.
- Encode.
- Take OutStreams array from OutMultiStream from step 1. Each OutStream in array is archive part.
Links
- C++: https://github.com/OlehKulykov/PLzmaSDK/blob/master/libplzma.hpp#L968C41-L968C41
- C: https://github.com/OlehKulykov/PLzmaSDK/blob/master/libplzma.h#L1388C51-L1388C51
- Swift: https://github.com/OlehKulykov/PLzmaSDK/blob/master/swift_pm_tests/plzmaTests/Compress.swift#L20
- C/C++: https://github.com/OlehKulykov/PLzmaSDK/blob/master/cmake_tests/test_plzma_multivolume.cpp#L64
- JS: https://github.com/OlehKulykov/PLzmaSDK/blob/master/node_tests/tests.js#L318C16-L318C16
from plzmasdk.
thanks
from plzmasdk.
Related Issues (20)
- add LIBPLZMA_OPT_NO_CRYPTO to disable crypto HOT 1
- how to add empty directory without real fs? HOT 4
- Why PLzmaSDK is much more slower than LzmaSDKObjC HOT 1
- Crash decoding an archive in String function (Swift 1.1.3) HOT 3
- Can't use it in android kotlin HOT 1
- Detect password protected files HOT 3
- Duplicated files HOT 1
- android ndk-build failed HOT 1
- Expect more convenience than before
- 7z extract progress error
- Error reporting using source code compilation
- Why is the decompression speed so slow?
- Missing Streaming Interface for Swift HOT 1
- File's creation and modified dates are set to decompressed date
- Support for Zstandard HOT 1
- EXC_RESOURCE (RESOURCE_TYPE_MEMORY: high watermark memory limit exceeded) (limit=30 MB) from inside an iOS Widget extension HOT 5
- Including the Apple Privacy manifest file
- Build issues in Catalina with Xcode 12 HOT 5
- set LIBPLZMA_NO_PROGRESS compile failed in Xcode12 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plzmasdk.