• 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
Re: bit/byte processing in cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bit/byte processing in cocoa


  • Subject: Re: bit/byte processing in cocoa
  • From: Scott Stevenson <email@hidden>
  • Date: Wed, 12 Jan 2005 22:31:08 -0800


On Jan 12, 2005, at 10:07 PM, Jon wrote:

I was wondering how to deal with bits/bytes in cocoa. How could I, say AND a char with another? Or XOR it, or use other things like shr/shl etc? Sorry for the newbie question, but I can't figure it out

Objective-C is built on top of C, so you can just do whatever you would do in C. There's nothing particularly specific to Cocoa in terms of this.



- Scott


-- http://treehouseideas.com/ http://theocacao.com/ [blog]

_______________________________________________
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


References: 
 >bit/byte processing in cocoa (From: Jon <email@hidden>)

  • Prev by Date: Re: Bindings Book !!!!!
  • Next by Date: Re: continuing after fork() (Re: Problems with NSTimer and NSRunLoop/CFRunLoop)
  • Previous by thread: bit/byte processing in cocoa
  • Next by thread: Re: bit/byte processing in cocoa
  • Index(es):
    • Date
    • Thread