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

chunk_size=0x4096 strange? #35

Open
JohnVeness opened this issue Apr 7, 2017 · 1 comment
Open

chunk_size=0x4096 strange? #35

JohnVeness opened this issue Apr 7, 2017 · 1 comment

Comments

@JohnVeness
Copy link

https://github.com/llakssz/FunKiiU/blob/master/FunKiiU.py#L106 says:
def download_file(url, outfname, retry_count=3, ignore_404=False, expected_size=None, chunk_size=0x4096):

0x4096 (16534 decimal) seems a strange chunk size. Should it be 0x4000 (16384 decimal)?

@llakssz
Copy link
Owner

llakssz commented May 13, 2017

I didn't write that, but it makes sense for a chunk/bugger to be a size of ^2, which is only correct in the decimal value.

Thanks

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

2 participants