ZstdKit
ZstdKit copied to clipboard
How to include zstd dependency
I have installed ZstdKit via Cocoapods, but I do not know how to include the zstd dependency
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.
@git-jkumar you should try pako instead
compression on videodata not working..please let me know how can we compress data