public ContentInfo findMatch ( byte [ ] bytes ) { if ( bytes . length == 0 ) { return ContentInfo . EMPTY_INFO ; } // first do the start byte ones int index = ( 0xFF & bytes [ 0 ] ) ; if ( index < firstByteEntryLists . length && firstByteEntryLists [ index ] != null ) { ContentInfo info = findMatch ( bytes , firstByteEntryLists [ index ] ) ; if ( info != null ) { // this seems to be right to return even if only a partial match here return info ; } } return findMatch ( bytes , entryList ) ; }
Find and return a match for the associated bytes .