Skip to content

Commit f95e382

Browse files
committed
Update README
1 parent 9b18f1b commit f95e382

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ const baseAddress = memoryjs.mapViewOfFile(processObject.handle, fileHandle.hand
509509
const data = memoryjs.readMemory(processObject.handle, baseAddress, memoryjs.STR);
510510

511511
// read 10 bytes after 64KB
512-
const baseAddress = memoryjs.mapViewOfFile(processObject.handle, fileHandle.handle, constants.PAGE_READONLY);
512+
const baseAddress = memoryjs.mapViewOfFile(processObject.handle, fileHandle.handle, 65536, 10, constants.PAGE_READONLY);
513513
const buffer = memoryjs.readBuffer(processObject.handle, baseAddress, 10);
514514
const data = buffer.toString();
515515

0 commit comments

Comments
 (0)