|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.cardon.utils.ByteArrayTools
public class ByteArrayTools
Reverses a byte array, or compares two byte arrays.
Constructor Summary | |
---|---|
ByteArrayTools()
|
Method Summary | |
---|---|
static boolean |
equals(byte[] a,
byte[] b)
Compare two byte arrays. |
static byte[] |
reverseByteArray(byte[] byteArray)
Reverse the byte order of a byte array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ByteArrayTools()
Method Detail |
---|
public static byte[] reverseByteArray(byte[] byteArray)
public static boolean equals(byte[] a, byte[] b)
true
if the size of two arrays are equal AND
if
each byte of the arrays are equal.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |