Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The footer could work. If you round up the file to some reasonable power-of-two block size and put the footer right at the end of the last block, that would be highly portable; it would work on systems/devices that only write binary files in multiples of a block size (even if you write a short block at the end).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: