BinaryReader

Package: ghidra.app.util.bin
Type: class

11.2_PUBLIC

addedmethod: readInt
int readInt(ghidra.util.DataConverter dc, long index) throws IOException
addedmethod: readLong
long readLong(ghidra.util.DataConverter dc, long index) throws IOException
addedmethod: readNextInt
int readNextInt(ghidra.util.DataConverter dc) throws IOException
addedmethod: readNextLong
long readNextLong(ghidra.util.DataConverter dc) throws IOException
addedmethod: readNextShort
short readNextShort(ghidra.util.DataConverter dc) throws IOException
addedmethod: readNextUnsignedInt
long readNextUnsignedInt(ghidra.util.DataConverter dc) throws IOException
addedmethod: readNextUnsignedIntExact
int readNextUnsignedIntExact(ghidra.util.DataConverter dc) throws IOException, InvalidDataException
addedmethod: readNextUnsignedShort
int readNextUnsignedShort(ghidra.util.DataConverter dc) throws IOException
addedmethod: readNextUnsignedValue
long readNextUnsignedValue(ghidra.util.DataConverter dc, int len) throws IOException
addedmethod: readNextValue
long readNextValue(ghidra.util.DataConverter dc, int len) throws IOException
addedmethod: readShort
short readShort(ghidra.util.DataConverter dc, long index) throws IOException
addedmethod: readUnsignedInt
long readUnsignedInt(ghidra.util.DataConverter dc, long index) throws IOException
addedmethod: readUnsignedShort
int readUnsignedShort(ghidra.util.DataConverter dc, long index) throws IOException
addedmethod: readUnsignedValue
long readUnsignedValue(ghidra.util.DataConverter dc, long index, int len) throws IOException
addedmethod: readValue
long readValue(ghidra.util.DataConverter dc, long index, int len) throws IOException

11.0_PUBLIC

modifiedmethod: setPointerIndex
return type: void → long
- void setPointerIndex(int index)
+ long setPointerIndex(int index)
modifiedmethod: setPointerIndex
return type: void → long
- void setPointerIndex(long index)
+ long setPointerIndex(long index)

10.3_PUBLIC

addedmethod: getInputStream
java.io.InputStream getInputStream()
addedmethod: readNextUnsignedIntExact
int readNextUnsignedIntExact() throws IOException, InvalidDataException
addedmethod: readNextUnsignedValue
long readNextUnsignedValue(int len) throws IOException
addedmethod: readNextValue
long readNextValue(int len) throws IOException

10.2_PUBLIC

addedmethod: hasNext
boolean hasNext()
addedmethod: hasNext
boolean hasNext(int count)
addedmethod: isValidRange
boolean isValidRange(long startIndex, int count)
addedmethod: readNextUtf8String
java.lang.String readNextUtf8String() throws IOException
addedmethod: readNextUtf8String
java.lang.String readNextUtf8String(int length) throws IOException
addedmethod: readUtf8String
java.lang.String readUtf8String(long index) throws IOException
addedmethod: readUtf8String
java.lang.String readUtf8String(long index, int length) throws IOException
modifiedmethod: isValidIndex
removed throws IOException
- boolean isValidIndex(int index) throws IOException
+ boolean isValidIndex(int index)
modifiedmethod: isValidIndex
removed throws IOException
- boolean isValidIndex(long index) throws IOException
+ boolean isValidIndex(long index)
modifiedmethod: readNextUnicodeString
param 1 renamed: length → charCount
- java.lang.String readNextUnicodeString(int length) throws IOException
+ java.lang.String readNextUnicodeString(int charCount) throws IOException
modifiedmethod: readUnicodeString
param 2 renamed: length → charCount
- java.lang.String readUnicodeString(long index, int length) throws IOException
+ java.lang.String readUnicodeString(long index, int charCount) throws IOException
removedmethod: readAsciiStringArray
java.lang.String[] readAsciiStringArray(long index, int nElements) throws IOException
removedmethod: readFixedLenAsciiString
java.lang.String readFixedLenAsciiString(long index, int len) throws IOException
removedmethod: readNextNullTerminatedAsciiString
java.lang.String readNextNullTerminatedAsciiString() throws IOException
removedmethod: readTerminatedString
java.lang.String readTerminatedString(long index, char termChar) throws IOException
removedmethod: readTerminatedString
java.lang.String readTerminatedString(long index, java.lang.String termChars) throws IOException

10.0_PUBLIC

addedmethod: asBigEndian
ghidra.app.util.bin.BinaryReader asBigEndian()
addedmethod: asLittleEndian
ghidra.app.util.bin.BinaryReader asLittleEndian()
addedmethod: clone
ghidra.app.util.bin.BinaryReader clone()
addedmethod: isBigEndian
boolean isBigEndian()

9.2_PUBLIC

addedmethod: clone
ghidra.app.util.bin.BinaryReader clone(long newIndex)
addedmethod: readUnsignedValue
long readUnsignedValue(long index, int len) throws IOException
addedmethod: readValue
long readValue(long index, int len) throws IOException
removedmethod: clone
ghidra.app.util.bin.BinaryReader clone(int newIndex)
removedmethod: readInt
int readInt(long index, int minClamp, int maxClamp) throws IOException

9.0.1_PUBLIC

introducedInitial version