• 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
Re: Resource fork & metadata - max size?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resource fork & metadata - max size?


  • Subject: Re: Resource fork & metadata - max size?
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 6 May 2008 19:35:44 -0700


On 6 May '08, at 10:43 AM, Karl Moskowski wrote:

My question is, how big can the resource fork and Finder info get? Is reading them into an in-memory NSData object feasible?

There's a very old tech-note called "Don't Abuse The Managers" that describes limitations of the Resource Manager. IIRC, resource forks that it manages can't get very big (by today's standards) — maybe 24MB? You should be able to find a copy of the tech-note online somewhere.


Of course, the fork itself can get arbitrarily large; but no one in their right mind would have stored anything there without using the Resource Manager, so I think you don't need to worry about edge cases like that.

Finder info is tiny, as far as I know.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

References: 
 >Resource fork & metadata - max size? (From: Karl Moskowski <email@hidden>)

  • Prev by Date: setImage for NStepper like NSButton
  • Next by Date: Re: How to convert UInt8 array to NSString
  • Previous by thread: Re: Resource fork & metadata - max size?
  • Next by thread: Deep sleep and file wrappers?
  • Index(es):
    • Date
    • Thread