• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
create a bufferarray from a string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

create a bufferarray from a string


  • Subject: create a bufferarray from a string
  • From: Andrea Salomoni <email@hidden>
  • Date: Fri, 9 Dec 2005 18:43:46 +0100

Hi to all,

I need to create a hex rapresentation of a strring.
I.e :
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;

etc....

How can I do?
Thank you all!

_______________________________________________
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
  • Follow-Ups:
    • Re: create a bufferarray from a string
      • From: Daniel Jalkut <email@hidden>
  • Prev by Date: Re: threads vs run-loops for keeping your GUI responsive
  • Next by Date: Re: adding an executable as a resource
  • Previous by thread: NSRunLoops running in more than one mode
  • Next by thread: Re: create a bufferarray from a string
  • Index(es):
    • Date
    • Thread