Package ghidra.app.util.bin.format.ne
Class LengthStringSet
- java.lang.Object
-
- ghidra.app.util.bin.format.ne.LengthStringSet
-
- Direct Known Subclasses:
LengthStringOrdinalSet
public class LengthStringSet extends java.lang.Object
A class to store a length/string set, where the string is not null-terminated and the length field determines the string length
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getIndex()
Returns the byte index of this string, relative to the beginning of the file.byte
getLength()
Returns the length of the string.java.lang.String
getString()
Returns the string.
-
-
-
Method Detail
-
getIndex
public long getIndex()
Returns the byte index of this string, relative to the beginning of the file.- Returns:
- the byte index of this string
-
getLength
public byte getLength()
Returns the length of the string.- Returns:
- the length of the string
-
getString
public java.lang.String getString()
Returns the string.- Returns:
- the string
-
-