# Interface: com.pnfsoftware.jeb.core.units.code.debug.IDebuggerVirtualMemory

Extension of the virtual memory interface providing additional methods useful in the context of a process controlled by a debugger.

## Method: findBytes
- parameter: `address`, type: `long`
- parameter: `maxsize`, type: `long`
- parameter: `pattern`, type: `byte[]`
- return type: `long`

Description: Search a memory area for a specific byte sequence.
parameter: address: base address \- in the case of a 64\-bit address above 2^63 bytes, the address            is theoretically negative
parameter: maxsize: size of the area to be searched, at most 2^63 bytes \- consequently, a full            64\-bit memory space search must be done in two operations
parameter: pattern: a sequence of bytes to look for \- at least 1 byte
return: an offset, relative to the input base address; \-1 indicates the pattern was not found

