Re: Str255 to NSString and Back
Re: Str255 to NSString and Back
- Subject: Re: Str255 to NSString and Back
- From: Ian Anderson <email@hidden>
- Date: Fri, 8 Jul 2005 15:32:52 -0700
On Jul 8, 2005, at 3:31 PM, Andrew Thompson wrote:
On Friday, July 08, 2005, at 05:50PM, Ian Anderson <email@hidden>
wrote:
You need to use CFString to convert to and from a Pascal string.
CFStringCreateWithPascalString() and CFStringGetPascalString()
Yes, but an NSString *is* a CFString due to toll free bridging, so
those functions will work with any NSString (unless it's too long!).
AndyT
Right. I should've said "CFString functions".
Ian
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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