1.0.4 • Published 7 years ago
@arunwij/read-bytes
Licence
ISC
Version
1.0.4
Deps
1
Size
2 kB
Vulns
0
Weekly
0
Install scriptsThis package runs scripts during installation (preinstall/install/postinstall)
Overview
Given a memory address and length this tool reads data from memory upto that length.
Usage
const rb = require('@arunwij/read-bytes');
// number of bytes to read
const length = 1000;
// this should be memory address
// check node-ref for accessing memory addresses
const pointer = < memory address >;
rb.readBytes(pointer, length);