Interface ILazyMemoryProvider


public interface ILazyMemoryProvider
Definition of a lazy memory provider. Use IVirtualMemory.setLazyMemoryProvider(ILazyMemoryProvider, boolean) to set a range.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    getData(long address, int size, byte[] data, int dataOffset)
    Provide the requested data.
    The list of ranges provided by this object.
  • Method Details

    • getRanges

      List<Range> getRanges()
      The list of ranges provided by this object.
      Returns:
    • getData

      void getData(long address, int size, byte[] data, int dataOffset) throws MemoryException
      Provide the requested data.
      Parameters:
      address -
      size -
      data - destination buffer that will receive the data
      dataOffset - offset in the destination buffer
      Throws:
      IOException - on a reading error
      MemoryException