• 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
NSStrings and data bytes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSStrings and data bytes


  • Subject: NSStrings and data bytes
  • From: "D.K. Johnston" <email@hidden>
  • Date: Mon, 26 Jun 2006 19:31:11 -0700

I want to read the bytes from a file as an NSString so I can use scanners, etc. But then I need to get at the original bytes in order to process them. (Sometimes I even have to get the right and left nibbles of a byte.) I've been playing around with NSString methods like cStringUsingEncoding:, but I can't seem to get the bytes back. Any suggestions?

dkj

_______________________________________________
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: NSStrings and data bytes
      • From: Damien Sorresso <email@hidden>
  • Prev by Date: Re: Why doesn't placeholder string draw in NSTextField?
  • Next by Date: Re: Save Customized Toolbar
  • Previous by thread: Re: Save Customized Toolbar
  • Next by thread: Re: NSStrings and data bytes
  • Index(es):
    • Date
    • Thread