private static boolean keyMatchesAtPosition ( final byte [ ] manifest , final byte [ ] key , final int pos ) { if ( pos + key . length + 1 > manifest . length || manifest [ pos + key . length ] != ' ' ) { return false ; } for ( int i = 0 ; i < key . length ; i ++ ) { // Manifest keys are case insensitive if ( toLowerCase [ manifest [ i + pos ] ] != key [ i ] ) { return false ; } } return true ; }
Key matches at position .