• 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: How to access the value that a pointer is pointing to
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to access the value that a pointer is pointing to


  • Subject: Re: How to access the value that a pointer is pointing to
  • From: Ondra Cada <email@hidden>
  • Date: Sat, 29 Apr 2006 23:37:34 +0200

Oh, anyway, do play:

On 29.4.2006, at 23:19, Phil Faber wrote:

There may well be ways to achieve the reading and writing in Cocoa (and, to be honest, I'd RATHER use Cocoa)

There are.

While the data size does not exceed a few hundred megabytes, NSData is probably the best way. See dataWithContentsOfMappedFile.

For bigger data, NSFileHandle comes as the second best. See readDataOfLength: and writeData:.
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc



_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >-[NSAttributedString initWithData:...] compresses spaces? (From: Glen Simmons <email@hidden>)
 >How to access the value that a pointer is pointing to (From: Phil Faber <email@hidden>)
 >Re: How to access the value that a pointer is pointing to (From: Patrick Seemann <email@hidden>)
 >Re: How to access the value that a pointer is pointing to (From: Phil Faber <email@hidden>)
 >Re: How to access the value that a pointer is pointing to (From: Nir Soffer <email@hidden>)
 >Re: How to access the value that a pointer is pointing to (From: Phil Faber <email@hidden>)

  • Prev by Date: Re: How to access the value that a pointer is pointing to
  • Next by Date: Re: Distributed objects: connecting to a process running as root?
  • Previous by thread: Re: How to access the value that a pointer is pointing to
  • Next by thread: Mailing List for Cocoa Newbies / Absolute Beginners
  • Index(es):
    • Date
    • Thread