Coder Social home page Coder Social logo

Extract zip data from nsdata about lzmasdkobjc HOT 6 CLOSED

sswain2 avatar sswain2 commented on September 26, 2024
Extract zip data from nsdata

from lzmasdkobjc.

Comments (6)

sswain2 avatar sswain2 commented on September 26, 2024

hi,

I have one more concern regarding this matter

LzmaSDKObjCBufferDecompressLZMA2 is only taking the byte for which I am getting only the first byte , if I can pass the entire nsdata to byte array and then to the method LzmaSDKObjCBufferDecompressLZMA2.

is it possible ?please help me in this matter .

from lzmasdkobjc.

OlehKulykov avatar OlehKulykov commented on September 26, 2024

Hi, as you wrote "nsdata is in 7zip format" this means that your data is archive file. In this case you should store you buffer to file and use reader(seams like it's your case).

But, if you are sure that the buffer you have is compressed buffer with lzma2 algorithm and the buffer contains first byte with properties to decompress than you can use LzmaSDKObjCBufferDecompressLZMA2 function.

from lzmasdkobjc.

sswain2 avatar sswain2 commented on September 26, 2024

hello ,

can i get some working examples of this library where i can see and debug the code for creating a 7z and extracting it .
if possible please share it in my email id - [email protected] .

from lzmasdkobjc.

OlehKulykov avatar OlehKulykov commented on September 26, 2024

Hi,
check out 'tests' branch for iOS and MacOS Unit tests.

from lzmasdkobjc.

sswain2 avatar sswain2 commented on September 26, 2024

Hi ,

thanks for your help greatly appreciated

one last doubt can we open lzma archive using this sdk

from lzmasdkobjc.

OlehKulykov avatar OlehKulykov commented on September 26, 2024

Hi,
yes you can, please refer to section "List and extract" in a README file or on the main page.

from lzmasdkobjc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.