Re: Corrupted NSMutableString
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.