public class ArrayUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
contains(byte[] src,
int offset,
byte[] search)
Helper method that checks whether a region in a byte array at a given
offset contains the same as another byte array.
|
public static boolean contains(byte[] src,
int offset,
byte[] search)
src - source byte arrayoffset - offset to start comparisonsearch - byte array containing the bytes to searchtrue if the bytes in src starting at offset are the same as those in search, otherwise false