default:
throw new IOException("Incompatible lzop strategy: " + strategy);
}
dob.writeInt(0); // all flags 0
dob.writeInt(0x81A4); // mode
dob.writeInt((int)(System.currentTimeMillis() / 1000)); // mtime
dob.writeInt(0); // gmtdiff ignored
dob.writeByte(0); // no filename
Adler32 headerChecksum = new Adler32();
headerChecksum.update(dob.getData(), 0, dob.getLength());
int hc = (int)headerChecksum.getValue();