public static NSData gzipNSDataAsNSData(NSData data) { NSData gzippedData = null; if (data != null) { gzippedData = ERXCompressionUtilities.gzipByteArrayAsNSData(data._bytesNoCopy(), 0, data.length()); } return gzippedData; }
public static byte[] zipByteArray(byte[] input) { return ERXCompressionUtilities.zipByteArray(input, "tmp"); }