private boolean matchesFingerprint ( byte [ ] buffer , byte [ ] fingerprint ) { return Arrays . equals ( fingerprint , Arrays . copyOf ( buffer , fingerprint . length ) ) ; }
Determine if the start of the buffer matches a fingerprint byte array .