Re: Unsigned Long Long
Re: Unsigned Long Long
- Subject: Re: Unsigned Long Long
- From: Scott Anguish <email@hidden>
- Date: Wed, 12 May 2004 17:25:14 -0400
On May 12, 2004, at 4:20 PM, email@hidden wrote:
Ok so i use this code to seek a file and get its size
NSFileHandle *fh = [NSFileHandle fileHandleForReadingAtPath:file];
NSNumber *totalFileSize = [NSNumber numberWithUnsignedLongLong:[fh
seekToEndOfFile]];
[fh closeFile];
the size is returned to me as an Unsigned Long Long ... does anyone
have a good definition of what exactly that is?
a darn big integer value that has no sign.
I need to convert it
to kilo bytes
divide by 1024
even better, write a generic NSFormatter that does it!
_______________________________________________
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.