public byte[] scan(final byte[] in) throws IOException {
        final ByteArrayInputStream bis = new ByteArrayInputStream(in);
        return this.scan(bis);
    }
Scans bytes for virus by passing the bytes to clamav

@param in data to scan.
@return server reply
@throws IOException if there is an I/O problem
primefaces/src/main/java/org/primefaces/virusscan/impl/ClamDaemonClient.java