4 ms·
Also what would have been wrong with having a fixed size trailer/footer at the end of the file, pointing back to the (possibly newly appended) central directory
by anyfoo 6y ago
Also what would have been wrong with having a fixed size trailer/footer at the end of the file, pointing back to the (possibly newly appended) central directory, and even back to the previous trailer/footer if chaining is necessary/useful? No scanning necessary, then.
- silvestrov 6y agoThe PDF format does this correctly. PDF files end with: startxref 12345 %%EOF where 12345 is the file offset of the TOC.