FunKiiU icon indicating copy to clipboard operation
FunKiiU copied to clipboard

chunk_size=0x4096 strange?

Open JohnVeness opened this issue 7 years ago • 1 comments

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)?

JohnVeness avatar Apr 07 '17 09:04 JohnVeness

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

llakssz avatar May 13 '17 09:05 llakssz