+ void read(Remote<T>& buffer, RemotePtr<T> ptr, int process_index = ProcessIndexAny) const
+ {
+ this->read_bytes(buffer.getBuffer(), sizeof(T), ptr, process_index);
+ }
+
+ /** Read a given data structure from the addres space
+ *
+ * This version returns by value.
+ */
+ template<class T> inline
+ Remote<T> read(RemotePtr<T> ptr, int process_index = ProcessIndexMissing) const
+ {
+ Remote<T> res;
+ this->read_bytes(&res, sizeof(T), ptr, process_index);
+ return res;
+ }
+
+ /** Read a string of known size */
+ std::string read_string(RemotePtr<char> address, std::size_t len) const