Class BundleChecker

java.lang.Object
org.brotli.integration.BundleChecker
All Implemented Interfaces:
Runnable

public class BundleChecker extends Object implements Runnable
Decompress files and (optionally) checks their checksums.

File are read from ZIP archive passed as an array of bytes. Multiple checkers negotiate about task distribution via shared AtomicInteger counter.

All entries are expected to be valid brotli compressed streams and output CRC64 checksum is expected to match the checksum hex-encoded in the first part of entry name.