Package ghidra.app.util.bin
Interface BinaryReader.InputStreamReaderFunction<T>
- Type Parameters:
T
- the type of object that will be returned
- Enclosing class:
BinaryReader
public static interface BinaryReader.InputStreamReaderFunction<T>
Reads and returns an object from the current position in the specified input stream.
-
Method Summary
Modifier and TypeMethodDescriptionget
(InputStream is) Reads from the specified input stream and returns a new object instance.
-
Method Details
-
get
Reads from the specified input stream and returns a new object instance.Implementations of this method should not return
null
, instead they should throw an IOException.- Parameters:
is
- anInputStream
view of the BinaryReader- Returns:
- new object
- Throws:
IOException
- if error reading
-