Re: NSNumber onto a NSData Object ?
Re: NSNumber onto a NSData Object ?
- Subject: Re: NSNumber onto a NSData Object ?
- From: Nathan Day <email@hidden>
- Date: Sun, 23 Jun 2002 22:39:52 +0930
theData = [[aNumber stringValue]
dataUsingEncoding:NSUnicodeStringEncoding];
though since it's just numbers you could probable use
NSASCIIStringEncoding instead of NSUnicodeStringEncoding.
On Sunday, June 23, 2002, at 01:25 PM, email@hidden wrote:
Newbie question.
What is the best way to get the string form of an NSNumber onto
NSData ?
Thanks
_______________________________________________
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.
_______________________________________________
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.