private static boolean rowContains ( final byte [ ] row , short offset , final byte [ ] bytes ) { for ( int pos = bytes . length - 1 ; pos >= 0 ; pos -- ) { if ( row [ offset + pos ] != bytes [ pos ] ) { return false ; } } return true ; }
Checks whether or not the row key contains the given byte array at the given offset .