Package ghidra.app.util.bin
package ghidra.app.util.bin
-
ClassDescriptionA class for reading data from a generic byte provider in either big-endian or little-endian.An interface to convert from a object to a byte array.An implementation of
ByteProvider
where the underlying bytes are supplied by a byte array.An interface for a generic random-access byte provider.AnInputStream
that reads from aByteProvider
.AnInputStream
that reads from aByteProvider
, and DOESclose()
the underlying ByteProvider when closed itself.Wraps aByteProvider
and presents it as anInputStream
.AByteProvider
constrained to a sub-section of an existingByteProvider
.AByteProvider
that has no contents.AByteProvider
that reads its bytes from a file.Instances of this class support both reading and writing to a random access file.AByteProvider
implementation that wraps anInputStream
, allowing data to be read, as long as there are no operations that request data from a previous offset.AByteProvider
implementation based onMemory
.A Byte Provider implementation based on Memory.An interface for a generic random-access byte provider, plus mutation methods.AByteProvider
that reads from an on-disk file, but obfuscates / de-obfuscates the contents of the file when reading / writing.AnInputStream
wrapper that de-obfuscates the bytes being read from the underlying stream.AnOutputStream
wrapper that obfuscates the bytes being written to the underlying stream.Deprecated, for removal: This API element is subject to removal in a future version.An implementation of ByteProvider where the underlying bytes are supplied by a random access file.AByteProvider
that is a concatenation of sub-ranges of another ByteProvider, also allowing for non-initialized (sparse) regions.Allows a class to create a structure datatype equivalent to its class members.Creates a thread-safe pass-throughByteProvider
.AByteProvider
constrained to a sub-section of an existingByteProvider
although reads beyond the specified sub-section are permitted but will return zero byte values.
FileByteProvider
as replacement ByteProvider.