• 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: Corrupted NSMutableString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Corrupted NSMutableString


  • Subject: Re: Corrupted NSMutableString
  • From: Mike Kluev <email@hidden>
  • Date: Sun, 03 Aug 2003 13:31:50 +0400

On 02/08/2003 21:58, "Alastair J.Houghton" <email@hidden> wrote:

> On Saturday, August 2, 2003, at 03:30 pm, Matthew wrote:
>
>> Since the binary file's definition uses 2-byte short integers (for this
>> section), I'm kind of stuck. Since C defines short integers as being
>> two bytes, it "should" not be a problem.
>
> No, it doesn't. C defines:
>
> char is 1 byte

I believe it is only specified that "sizeof(char) = 1" and that
char should be able to represent the integer number in the range
-127 .. +127 (if signed) or 0..+255 (if unsigned). E.g. char can
be 20 bits.

Mike
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Corrupted NSMutableString
      • From: "Alastair J.Houghton" <email@hidden>
  • Prev by Date: Re: [Newbie] mem errors cont.
  • Next by Date: Re: beginning C (Solved)
  • Previous by thread: Re: Corrupted NSMutableString
  • Next by thread: Re: Corrupted NSMutableString
  • Index(es):
    • Date
    • Thread