Class DBTraceEmptyMemBuffer

java.lang.Object
ghidra.trace.database.memory.DBTraceEmptyMemBuffer
All Implemented Interfaces:
MemBuffer, MemBufferMixin

public class DBTraceEmptyMemBuffer extends Object implements MemBufferMixin
  • Constructor Details

  • Method Details

    • getAddress

      public Address getAddress()
      Description copied from interface: MemBuffer
      Get the Address which corresponds to the offset 0.
      Specified by:
      getAddress in interface MemBuffer
      Returns:
      the current address of offset 0.
    • getMemory

      public Memory getMemory()
      Description copied from interface: MemBuffer
      Get the Memory object actually used by the MemBuffer.
      Specified by:
      getMemory in interface MemBuffer
      Returns:
      the Memory used by this MemBuffer or null if not available.
    • isBigEndian

      public boolean isBigEndian()
      Description copied from interface: MemBuffer
      Returns true if the underlying bytes are in big-endian order, false if they are little endian.
      Specified by:
      isBigEndian in interface MemBuffer
      Returns:
      true if the underlying bytes are in big-endian order, false if they are little endian.
    • getBytes

      public int getBytes(ByteBuffer buffer, int offset)
      Specified by:
      getBytes in interface MemBufferMixin