4 ms·
You win the internet today, that's a fantastic solution. I think the only gotcha is to handle the last block read in step 1 in case it's not evenly 1 kiB. Othe
by bjornedstrom 6y ago
You win the internet today, that's a fantastic solution.
I think the only gotcha is to handle the last block read in step 1 in case it's not evenly 1 kiB. Otherwise the first read in step 3 will overlap the blocks.