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

How to include zstd dependency #1

Open
micahkatz opened this issue Jan 28, 2019 · 3 comments
Open

How to include zstd dependency #1

micahkatz opened this issue Jan 28, 2019 · 3 comments

Comments

@micahkatz
Copy link

I have installed ZstdKit via Cocoapods, but I do not know how to include the zstd dependency

@git-jkumar
Copy link

I am facing problem to decompress Data using ZSTDProcessor. Here is the code

   guard let base64data = Data(base64Encoded: base64String) else {
        return
    }
    //AES Decryption which returns Data
    guard  let decryptedData = base64data.decrypt() else {
        return
    }
  let processor = ZSTDProcessor(useContext: true)
 do {
  let data =  try  processor.decompressFrame(decryptedData)
  } catch let error {
}

Decompression is not working its throwing decompressedSizeUnknown error.
Please help to find the solution of it.

@micahkatz
Copy link
Author

@git-jkumar you should try pako instead

@abbasnaqvi200
Copy link

compression on videodata not working..please let me know how can we compress data

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

3 participants