Method ProcessMemory.ReadByteString
Overload
Copies a byte string from that process (memory address ProcessMemory.Mem) to this process. In that process the string must be array of bytes (not Unicode UTF-16).
public string ReadByteString(int length, int offsetBytes = 0, bool findLength = false, Encoding enc = null)
Parameters
length (int)
Number bytes to copy, not including the terminating |
offsetBytes (int)
Offset in ProcessMemory.Mem. |
findLength (bool)
Find string length by searching for |
enc (Encoding)
Encoding for converting byte string to char string. If |
Returns
string
The copied string, or |