Class BatchingByteArrayScanner

java.lang.Object
io.datarouter.scanner.BaseScanner<List<byte[]>>
io.datarouter.scanner.BaseLinkedScanner<byte[],List<byte[]>>
io.datarouter.bytes.BatchingByteArrayScanner
All Implemented Interfaces:
io.datarouter.scanner.Scanner<List<byte[]>>, Closeable, AutoCloseable

public class BatchingByteArrayScanner extends io.datarouter.scanner.BaseLinkedScanner<byte[],List<byte[]>>
scanner that batches byte[]s into List<byte[]>s containing as many unbroken byte[]s as possible without exceeding maxOutputBytes total bytes. throws an exception if any input is larger than maxOutputBytes.