• 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: Accessing 8-bit bytes from a file using Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessing 8-bit bytes from a file using Cocoa


  • Subject: Re: Accessing 8-bit bytes from a file using Cocoa
  • From: Nick Zitzmann <email@hidden>
  • Date: Mon, 1 May 2006 07:21:06 -0600


On May 1, 2006, at 6:17 AM, Phil Faber wrote:

At the moment, I'm using C coding:

(fread(&oneByte,1,1,fp1) [where oneByte is defined as a 'char']

You need to use an unsigned char, not a signed char. Or, better yet, use a uint8_t.


Nick Zitzmann
<http://www.chronosnet.com/>


_______________________________________________ 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: 
 >Accessing 8-bit bytes from a file using Cocoa (From: Phil Faber <email@hidden>)

  • Prev by Date: Re: [CocoaProgrammingForAbsoluteBeginners] Accessing 8-bit bytes from a file using Cocoa
  • Next by Date: Re: NSString into *arguments[]
  • Previous by thread: Re: [CocoaProgrammingForAbsoluteBeginners] Accessing 8-bit bytes from a file using Cocoa
  • Next by thread: Re: Accessing 8-bit bytes from a file using Cocoa
  • Index(es):
    • Date
    • Thread