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
ByteProviderwhere the underlying bytes are supplied by a byte array.An interface for a generic random-access byte provider.AnInputStreamthat reads from aByteProvider.AnInputStreamthat reads from aByteProvider, and DOESclose()the underlying ByteProvider when closed itself.Wraps aByteProviderand presents it as anInputStream.AByteProviderconstrained to a sub-section of an existingByteProvider.AByteProviderthat has no contents.AByteProviderthat reads its bytes from a file.Instances of this class support both reading and writing to a random access file.AByteProviderimplementation that wraps anInputStream, allowing data to be read, as long as there are no operations that request data from a previous offset.AByteProviderimplementation based onMemory.A Byte Provider implementation based on Memory.An interface for a generic random-access byte provider, plus mutation methods.AByteProviderthat reads from an on-disk file, but obfuscates / de-obfuscates the contents of the file when reading / writing.AnInputStreamwrapper that de-obfuscates the bytes being read from the underlying stream.AnOutputStreamwrapper 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.AByteProviderthat 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.AByteProviderconstrained to a sub-section of an existingByteProvideralthough reads beyond the specified sub-section are permitted but will return zero byte values.
FileByteProvideras replacement ByteProvider.