scanner.log( format.toString());
Header rpmHeader = format.getHeader();
scanner.log("Payload compression: "+rpmHeader.getEntry(HeaderTag.PAYLOADCOMPRESSOR));
InputStream uncompressed = Util.openPayloadStream(rpmHeader, fios);
in = new ReadableChannelWrapper( Channels.newChannel( uncompressed));
CpioHeader header;
int total = 0;
do {
header = new CpioHeader();
total = header.read( in, total);
scanner.log(header.toString());
final int skip = header.getFileSize();
if ( uncompressed.skip( skip) != skip) throw new RuntimeException( "Skip failed.");
total += header.getFileSize();
} while ( !header.isLast());
}