• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSFileWrapper serializedRepresentation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSFileWrapper serializedRepresentation


  • Subject: NSFileWrapper serializedRepresentation
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Mon, 04 Apr 2016 15:18:47 +0700

NSFileWrapper  *fileWrapper = … some Folder …
NSData *dataRaw = fileWrapper.serializedRepresentation;
NSDate *dataCompressed = … COMPRESSION_LZFSE …

When I do this in OS X 10.11.4 dataRaw = 30380898, dataCompressed = 5638680 ( 18.6 %)
But in the iOS Simulator 9.3.1: dataRaw = 28206422, dataCompressed = 4282602 ( 15.2 %)

That is OS X (10.11.4) makes an 8 % bigger FileWrapper compared to iOS (9.3.1), which also compresses less well → 32% overhead.

Is there a method like: serializedRepresentationInTheNeatAndLean_iOS_way ?

Gerriet.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: NSFileWrapper serializedRepresentation
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: Smoother becomeFirstResponder animation
  • Next by Date: Text Field Formatting Problem
  • Previous by thread: Re: Smoother becomeFirstResponder animation
  • Next by thread: Re: NSFileWrapper serializedRepresentation
  • Index(es):
    • Date
    • Thread