• 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
NSFileWrapper limitation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSFileWrapper limitation


  • Subject: NSFileWrapper limitation
  • From: "Anthony Cheung" <email@hidden>
  • Date: Wed, 3 Sep 2003 17:31:14 +0800

Dear all,

I would like to know if there is limitation on file size when using
NSFileWrapper?

I have used the following code to check file size in my application:

fileWrapper = [[NSFileWrapper alloc] initWithPath:myfileName];

when the file size of "myfileName" is over 2 GBytes, I got the following error
message:

-[NSConcreteData initWithBytes:length:copy:freeWhenDone:bytesAreVM:]: absurd
length: 2147481258



If I can't use NSFileWrapper for files over 2 GBytes, what should I use?



Many thanks in advance for your reply.


Regards,

Anthony Cheung
_______________________________________________
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: NSFileWrapper limitation
      • From: Dustin Voss <email@hidden>
  • Prev by Date: Re: ObjC/Cocoa/PB/IB vs. C#/.NET/er,something
  • Next by Date: Re: Frameworks (dylib) Within The App Bundle
  • Previous by thread: Re: ObjC/Cocoa/PB/IB vs. C#/.NET/er,something
  • Next by thread: Re: NSFileWrapper limitation
  • Index(es):
    • Date
    • Thread