public final class ArrayTools extends Object
Modifier and Type | Method and Description |
---|---|
static int |
indexOf(byte[] src,
byte[] contained)
Find the index of the contained array in the src array.
|
static byte[] |
subarray(byte[] array,
int startIndexInclusive,
int endIndexExclusive) |
public static int indexOf(byte[] src, byte[] contained)
src
- Source array.contained
- Array to search for.public static byte[] subarray(byte[] array, int startIndexInclusive, int endIndexExclusive)
Copyright © 2008–2016. All rights reserved.