}
final CpioHeader trailer = new CpioHeader();
trailer.setLast();
total = trailer.write( compressor, total);
trailer.skip( compressor, total);
int length = compressor.finish( payloadkey);
int pad = Util.difference( length, 3);
Util.empty( compressor, ByteBuffer.allocate( pad));
length += pad;