Class ReadMemoryResponse.ResponseBody

java.lang.Object
com.oracle.truffle.tools.dap.types.JSONBase
com.oracle.truffle.tools.dap.types.ReadMemoryResponse.ResponseBody
Enclosing class:
ReadMemoryResponse

public static class ReadMemoryResponse.ResponseBody extends JSONBase
  • Method Details

    • getAddress

      public String getAddress()
      The address of the first byte of data returned. Treated as a hex value if prefixed with '0x', or as a decimal value otherwise.
    • setAddress

      public ReadMemoryResponse.ResponseBody setAddress(String address)
    • getUnreadableBytes

      public Integer getUnreadableBytes()
      The number of unreadable bytes encountered after the last successfully read byte. This can be used to determine the number of bytes that must be skipped before a subsequent 'readMemory' request will succeed.
    • setUnreadableBytes

      public ReadMemoryResponse.ResponseBody setUnreadableBytes(Integer unreadableBytes)
    • getData

      public String getData()
      The bytes read from memory, encoded using base64.
    • setData

      public ReadMemoryResponse.ResponseBody setData(String data)
    • equals

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

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

      public static ReadMemoryResponse.ResponseBody create(String address)