Closed ghost closed 6 years ago
Phooey. I was working on this but you finished before me. I should have communicated more or spent less time eating nutella bread.
I think you could save yourself the burden of the bitshift logic by just casting the ptrBlock
array from char*
to int*
and accessing normally.
And I utilized GitHub's ability to make the suggested change, hope you don't mind.
I tested this on a file that was larger than the 10 direct blocks and it works.