public void seek(long offset) throws IOException { raos.seek(offset); }
public synchronized void seek(long offset) throws IOException { // Flush any buffered bytes before seeking, otherwise buffered bytes would be written at the wrong offset flush(); raos.seek(offset); }
raos.seek(entryInfo.headerOffset+10); raos.write(ZipLong.getBytes(entry.getDosTime(), zipBuffer.longBuffer)); raos.seek(entryInfo.centralHeaderOffset+4); ZipOutputStream.writeVersionMadeBy(entry, raos, zipBuffer); raos.seek(entryInfo.centralHeaderOffset+12); raos.write(ZipLong.getBytes(entry.getDosTime(), zipBuffer.longBuffer)); raos.seek(entryInfo.centralHeaderOffset+38); raos.write(ZipLong.getBytes(entry.getExternalAttributes(), zipBuffer.longBuffer));
raos.seek(destOffset);
raos.seek(centralDirectoryStart);