public static class Util.ByteMatcher extends Object
Modifier and Type | Field and Description |
---|---|
byte[] |
key |
Constructor and Description |
---|
Util.ByteMatcher(byte[] key) |
Modifier and Type | Method and Description |
---|---|
int |
match(byte[] a)
Matches the pre-compiled byte array token against a
byte array variable and returns the index of the key
within the array.
|
public final byte[] key
public Util.ByteMatcher(byte[] key)
public int match(byte[] a)
a
- An array of bytes to search for.