• 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
NSData dataWithContentsOfFile - freeWhenDone:NO ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSData dataWithContentsOfFile - freeWhenDone:NO ?


  • Subject: NSData dataWithContentsOfFile - freeWhenDone:NO ?
  • From: email@hidden
  • Date: Fri, 31 Oct 2008 15:02:46 -0400

Hi,

I'm using [NSData dataWithContentsOfFile] to load an AIFF file. I was wondering if there is a way to make it freeWhenDone:NO so I can delete the NSData object and keep the bytes. Audio files can be pretty big so I was hoping to avoid having to copy the bytes if possible.

thanks
Jeff



_______________________________________________

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: NSData dataWithContentsOfFile - freeWhenDone:NO ?
      • From: David Duncan <email@hidden>
    • Re: NSData dataWithContentsOfFile - freeWhenDone:NO ?
      • From: "Sherm Pendley" <email@hidden>
  • Prev by Date: Re: NSTextView actions
  • Next by Date: Detecting when NSComboBox text changed by list
  • Previous by thread: NSNetService won't resolve
  • Next by thread: Re: NSData dataWithContentsOfFile - freeWhenDone:NO ?
  • Index(es):
    • Date
    • Thread