how to dynamically give buffer value in Objective-C

Posted by suse on Stack Overflow See other posts from Stack Overflow or by suse
Published on 2010-04-20T04:42:49Z Indexed on 2010/04/20 5:23 UTC
Read the original article Hit count: 180

Filed under:

hello,

i ve a string , for example:

NSString *str = @"12,20,40,320,480"

This str has to be given as buffer value,

UInt8 *buffer;

Now how to give the str as buffer value? The value of str string keeps changing , and hence buffer has to dynamically take the value as str everytime. plz help me how to achieve this.

Thank You.

© Stack Overflow or respective owner

Related posts about objective-c