You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using your code in swift 2.3. I am able to compress data but when i decompress it, it doesn't show me original string. Here is my code.
let stringData = "You probably want to read your data from a file or another data source rather than using string literals.".dataUsingEncoding(NSUTF8StringEncoding)!
// var error: NSError? = nil
let compressedData = try! BZipCompression.compressedDataWithData(stringData, blockSize: BZipDefaultBlockSize, workFactor: BZipDefaultWorkFactor)
print(compressedData)
let decompress = try! BZipCompression.decompressedDataWithData(compressedData)
print(decompress)
The text was updated successfully, but these errors were encountered:
I am using your code in swift 2.3. I am able to compress data but when i decompress it, it doesn't show me original string. Here is my code.
The text was updated successfully, but these errors were encountered: