public class SearchType extends StringType
NOTE: in our experience, the /number is _before_ the flags in 99% of the lines so that is how we implemented it.
StringType.TestInfo
MagicMatcher.MutableOffset
EMPTY
Constructor and Description |
---|
SearchType() |
Modifier and Type | Method and Description |
---|---|
Object |
isMatch(Object testValue,
Long andValue,
boolean unsignedType,
Object extractedValue,
MagicMatcher.MutableOffset mutableOffset,
byte[] bytes)
Matches if the bytes match at a certain offset.
|
convertTestString, extractValueFromBytes, findOffsetMatch, getStartingBytes, renderValue
public Object isMatch(Object testValue, Long andValue, boolean unsignedType, Object extractedValue, MagicMatcher.MutableOffset mutableOffset, byte[] bytes)
MagicMatcher
isMatch
in interface MagicMatcher
isMatch
in class StringType
This content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.