Compare two Byte Arrays?
Given code works on the static array comparison methods in the Arrays class.
if (Arrays.equals(array, new BigInteger("1111000011110001", 2).toByteArray())) { System.out.println("Yup, they're the same!"); }
Post Answer
Preview:
Ads