• 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: stringWithUTF8String: Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: stringWithUTF8String: Question


  • Subject: Re: stringWithUTF8String: Question
  • From: Karl Goiser <email@hidden>
  • Date: Tue, 6 May 2003 23:13:55 +1000

Hello Clark,

On Tuesday, May 6, 2003, at 10:49 PM, Clark S. Cox III wrote:

stringWithUTF8String expects a NUL terminated string


Thanks for that!

That's an interesting things to know! Of course that method needs a null termination - otherwise it would never stop!


Interesting thing is that I looked at the documentation and thought that they would be compatible. After all, NSData's bytes method "Returns a pointer to the receivers contents".

Perhaps something is lacking here... (documentation, true compatibility...)


Thanks again.

Karl
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: stringWithUTF8String: Question (From: "Clark S. Cox III" <email@hidden>)

  • Prev by Date: Re: Hide/Show an NSView???
  • Next by Date: Re: clicking in NSMatrix.
  • Previous by thread: Re: stringWithUTF8String: Question
  • Next by thread: Re: Precompiled header woes
  • Index(es):
    • Date
    • Thread