Class ReadMemoryArguments

java.lang.Object
com.oracle.truffle.tools.dap.types.JSONBase
com.oracle.truffle.tools.dap.types.ReadMemoryArguments

public class ReadMemoryArguments extends JSONBase
Arguments for 'readMemory' request.
  • Method Details

    • getMemoryReference

      public String getMemoryReference()
      Memory reference to the base location from which data should be read.
    • setMemoryReference

      public ReadMemoryArguments setMemoryReference(String memoryReference)
    • getOffset

      public Integer getOffset()
      Optional offset (in bytes) to be applied to the reference location before reading data. Can be negative.
    • setOffset

      public ReadMemoryArguments setOffset(Integer offset)
    • getCount

      public int getCount()
      Number of bytes to read at the specified location and offset.
    • setCount

      public ReadMemoryArguments setCount(int count)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • create

      public static ReadMemoryArguments create(String memoryReference, Integer count)