Re: stringWithUTF8String: Question
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.