Created
January 26, 2022 07:59
-
-
Save ntub46010/fdb21bee8b52873ea7357728f667d54d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static boolean equals(byte[] value, byte[] other) { | |
if (value.length == other.length) { | |
for (int i = 0; i < value.length; i++) { | |
if (value[i] != other[i]) { | |
return false; | |
} | |
} | |
return true; | |
} | |
return false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment