
13 Jan
2018
13 Jan
'18
2:21 p.m.
Hi Andrzej
- // There are 2 slots for the header itself. + // There are 2 slots for the header itself. (slots or blocks? code adds blocks) int blocksRequired = 2 + headerSlotsRequired * 512 / blockSize;
It should be slots, the code is wrong. Also it should be 1 and not 2. The mistake is harmless apart from the file being a little bigger than necessary. ..Steve