Record Class ByteMatcher.ByteMatch
java.lang.Object
java.lang.Record
ghidra.features.base.memsearch.matcher.ByteMatcher.ByteMatch
- Record Components:
start- the offset in the buffer where the match startslength- the length of the matchmatcher- the matcher the found the match
- Enclosing class:
ByteMatcher
public static record ByteMatcher.ByteMatch(int start, int length, ByteMatcher matcher)
extends Record
Record class to contain a match specification.
-
Constructor Summary
ConstructorsConstructorDescriptionByteMatch(int start, int length, ByteMatcher matcher) Creates an instance of aByteMatchrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intlength()Returns the value of thelengthrecord component.matcher()Returns the value of thematcherrecord component.intstart()Returns the value of thestartrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
start
-
length
-
matcher
-