• 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: float from NSData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: float from NSData


  • Subject: Re: float from NSData
  • From: Michael Vannorsdel <email@hidden>
  • Date: Tue, 3 Mar 2009 10:14:54 -0700

float f;
[myData getBytes:&f length:sizeof(float)];


On Mar 3, 2009, at 9:51 AM, Jay Kickliter wrote:

hat's what I'm doing. But don't understand how to get the 4 bytes I have in NSData into a float variable.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >float from NSData (From: Jay Kickliter <email@hidden>)
 >Re: float from NSData (From: "Sean McBride" <email@hidden>)
 >Re: float from NSData (From: Jay Kickliter <email@hidden>)

  • Prev by Date: Re: float from NSData
  • Next by Date: To run a block of code at every 1 second
  • Previous by thread: Re: float from NSData
  • Next by thread: I can't find the leak on this simple table view.
  • Index(es):
    • Date
    • Thread