Package ghidra.trace.database.memory
Class DBTraceMemBuffer
java.lang.Object
ghidra.trace.database.memory.DBTraceMemBuffer
- All Implemented Interfaces:
MemBuffer,MemBufferMixin
-
Constructor Summary
ConstructorsConstructorDescriptionDBTraceMemBuffer(DBTraceMemorySpace space, long snap, Address start, ByteOrder byteOrder) -
Method Summary
Modifier and TypeMethodDescriptionGet the Address which corresponds to the offset 0.intgetBytes(ByteBuffer buffer, int offset) Get the Memory object actually used by the MemBuffer.booleanReturns true if the underlying bytes are in big-endian order, false if they are little endian.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ghidra.program.model.mem.MemBuffer
getInputStream, getInputStream, getUnsignedByte, getUnsignedInt, getUnsignedShort, getVarLengthInt, getVarLengthUnsignedInt, isInitializedMemoryMethods inherited from interface ghidra.program.model.mem.MemBufferMixin
getBigInteger, getByte, getBytes, getBytesInFull, getInt, getLong, getShort
-
Constructor Details
-
DBTraceMemBuffer
-
-
Method Details
-
getAddress
Description copied from interface:MemBufferGet the Address which corresponds to the offset 0.- Specified by:
getAddressin interfaceMemBuffer- Returns:
- the current address of offset 0.
-
getMemory
Description copied from interface:MemBufferGet the Memory object actually used by the MemBuffer. -
isBigEndian
public boolean isBigEndian()Description copied from interface:MemBufferReturns true if the underlying bytes are in big-endian order, false if they are little endian.- Specified by:
isBigEndianin interfaceMemBuffer- Returns:
- true if the underlying bytes are in big-endian order, false if they are little endian.
-
getBytes
- Specified by:
getBytesin interfaceMemBufferMixin
-