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 14:48:24 -0700
You need to use CFString to convert to and from a Pascal string.
CFStringCreateWithPascalString() and CFStringGetPascalString()
Ian
Ok im hoping there is an easy answer to this problem
Ive been messing around with it for a few days.
Im sending network data using Str255, and i want to
convert to to an NSString on the other side. And on
the client side i start with an NSString and send it
as a Str255.
What im looking for is something along the lines of
Str255 = NSString
NSString = Str255
I know thats over simplified but I cant find any good
infomation on the subject. I can assure all data is
ASCII so i dont need to worry about data type errors.
Thanks guys
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