GdbMiSession.readMemory

ubyte[] readMemory(string address, size_t count) @trusted

Reads raw memory into a buffer.

Parameters

addressMemory address.
countNumber of bytes to read.

Returns

The memory content as a ubyte[]. Empty array if zero bytes requested.

Throws

GdbException on error, GdbMemoryReadException if the memory

could not be read or parsed.