(long pos, int alignTo)
| 395 | } |
| 396 | |
| 397 | private static int getAlignedPadding(long pos, int alignTo) { |
| 398 | return (int) (alignTo - (pos % alignTo)) % alignTo; |
| 399 | } |
| 400 | |
| 401 | private void writeCentralFileHeader(CenterFileHeader header) throws IOException { |
| 402 | boolean needZip64 = header.needZip64(); |