Package org.eclipse.lsp4j.debug
Class WriteMemoryArguments
- java.lang.Object
-
- org.eclipse.lsp4j.debug.WriteMemoryArguments
-
public class WriteMemoryArguments extends java.lang.Object
Arguments for 'writeMemory' request.Since 1.48
-
-
Constructor Summary
Constructors Constructor Description WriteMemoryArguments()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.Boolean
getAllowPartial()
Property to control partial writes.java.lang.String
getData()
Bytes to write, encoded using base64.java.lang.String
getMemoryReference()
Memory reference to the base location to which data should be written.java.lang.Integer
getOffset()
Offset (in bytes) to be applied to the reference location before writing data.int
hashCode()
void
setAllowPartial(java.lang.Boolean allowPartial)
Property to control partial writes.void
setData(java.lang.String data)
Bytes to write, encoded using base64.void
setMemoryReference(java.lang.String memoryReference)
Memory reference to the base location to which data should be written.void
setOffset(java.lang.Integer offset)
Offset (in bytes) to be applied to the reference location before writing data.java.lang.String
toString()
-
-
-
Method Detail
-
getMemoryReference
public java.lang.String getMemoryReference()
Memory reference to the base location to which data should be written.
-
setMemoryReference
public void setMemoryReference(java.lang.String memoryReference)
Memory reference to the base location to which data should be written.
-
getOffset
public java.lang.Integer getOffset()
Offset (in bytes) to be applied to the reference location before writing data. Can be negative.This is an optional property.
-
setOffset
public void setOffset(java.lang.Integer offset)
Offset (in bytes) to be applied to the reference location before writing data. Can be negative.This is an optional property.
-
getAllowPartial
public java.lang.Boolean getAllowPartial()
Property to control partial writes. If true, the debug adapter should attempt to write memory even if the entire memory region is not writable. In such a case the debug adapter should stop after hitting the first byte of memory that cannot be written and return the number of bytes written in the response via the 'offset' and 'bytesWritten' properties. If false or missing, a debug adapter should attempt to verify the region is writable before writing, and fail the response if it is not.This is an optional property.
-
setAllowPartial
public void setAllowPartial(java.lang.Boolean allowPartial)
Property to control partial writes. If true, the debug adapter should attempt to write memory even if the entire memory region is not writable. In such a case the debug adapter should stop after hitting the first byte of memory that cannot be written and return the number of bytes written in the response via the 'offset' and 'bytesWritten' properties. If false or missing, a debug adapter should attempt to verify the region is writable before writing, and fail the response if it is not.This is an optional property.
-
getData
public java.lang.String getData()
Bytes to write, encoded using base64.
-
setData
public void setData(java.lang.String data)
Bytes to write, encoded using base64.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-