Re: create a bufferarray from a string
Re: create a bufferarray from a string
- Subject: Re: create a bufferarray from a string
- From: Daniel Jalkut <email@hidden>
- Date: Fri, 09 Dec 2005 13:08:22 -0500
Given your example you could do something like this:
[theString getCString:buff maxLength:67 encoding:NSUTF8StringEncoding];
Daniel
On Dec 9, 2005, at 12:43 PM, Andrea Salomoni wrote:
NSString * theString;
theString = [NSString stringWithString:[myOutlet stringValue]];
After it I need to create an array like:
char buff[68];
and have something like
buff[0] = 0x66;
buff[1] = 0x6F;
_______________________________________________
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