Пример #1
0
 public static NSData gzipNSDataAsNSData(NSData data) {
   NSData gzippedData = null;
   if (data != null) {
     gzippedData =
         ERXCompressionUtilities.gzipByteArrayAsNSData(data._bytesNoCopy(), 0, data.length());
   }
   return gzippedData;
 }
Пример #2
0
 public static byte[] zipByteArray(byte[] input) {
   return ERXCompressionUtilities.zipByteArray(input, "tmp");
 }