Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompleted chunk processing #147

Closed
yoon-boom opened this issue Jun 29, 2017 · 1 comment
Closed

Incompleted chunk processing #147

yoon-boom opened this issue Jun 29, 2017 · 1 comment

Comments

@yoon-boom
Copy link

yoon-boom commented Jun 29, 2017

First of all, I have limited time and knowledge to understand the lower level implementation.
Here is what I am doing.

  1. Download Physical files.
  2. Once, have physical file then request asynchronouslyRetrieveImageForEntity:withFormatName:completionBlock:
  3. load image from completion block. At this point, bitmap array might have interrupted not filling expected bytes.

I want to know, is there any built in method to check bitmap has been completed? So that I can check incompleted one and re-do processing?
Thank you.
ORIGINAL:
0000278967487c77_m

Image from FICImageTable
image

@yoon-boom
Copy link
Author

Self closing this issue. Because it was not FIC problem but my handling of downloading outputstream. Ended up comparing it from response header-> Content-Length between the physical file byte [[[NSFileManager defaultManager] attributesOfItemAtPath:tmpImgPath error:&possibleFileError] fileSize] solved my issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant