Re: Problems with NSData
Re: Problems with NSData
- Subject: Re: Problems with NSData
- From: Mike Schrag <email@hidden>
- Date: Thu, 6 Mar 2008 11:52:08 -0500
5 while ((aByte = bis.read()) != -1) {//!= -1
8 imageFile = new NSData(currentPart.getInputStream(),
aByte);
Aside from whether it changed in 5.4 or not, this code just looks
wrong ... When the stream is done, aByte will always = -1, so you're
passing in -1 as the chunk size to NSData?
ms
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden