I have a byte array with a ~known binary sequence in it. I need to confirm that the binary sequence is what it\'s supposed to be. I have tried .equals in additi
.equals
Java doesn't overload operators, so you'll usually need a method for non-basic types. Try the Arrays.equals() method.