Package ghidra.program.model.mem

# Class DumbMemBufferImpl

java.lang.Object
ghidra.program.model.mem.MemoryBufferImpl
ghidra.program.model.mem.DumbMemBufferImpl

All Implemented Interfaces:
  `MemBuffer`, `MutableMemBuffer`

public class DumbMemBufferImpl extends MemoryBufferImpl
`DumbMemBufferImpl` extends `MemoryBufferImpl` with an internal cache buffer size of 16-bytes but will use the underlying memory if needed.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DumbMemBufferImpl(Memory mem, Address addr)`
  Construct a new DumbMemBufferImpl

- ## Method Summary

  ### Methods inherited from class ghidra.program.model.mem.MemoryBufferImpl

  `advance, clone, getAddress, getBigInteger, getByte, getBytes, getInt, getLong, getMemory, getShort, isBigEndian, setPosition`

  ### Methods inherited from class java.lang.Object

  `equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface ghidra.program.model.mem.MemBuffer

  `getInputStream, getInputStream, getUnsignedByte, getUnsignedInt, getUnsignedShort, getVarLengthInt, getVarLengthUnsignedInt, isInitializedMemory`

- ## Constructor Details

  - ### DumbMemBufferImpl

    public DumbMemBufferImpl(Memory mem, Address addr)
    Construct a new DumbMemBufferImpl
    Parameters:
      `mem` - memory associated with the given address
      `addr` - starting address