The memory address to read
Optional
byteOffset: numberbytes to skip before reading
Optional
byteLength: numberbytes to read
While there are some checks to catch invalid pointers, this is a difficult thing to do safely. Passing an invalid pointer can crash the program and reading beyond the bounds of the pointer will crash the program or cause undefined behavior. Use with care!
Read a pointer as a Buffer
If byteLength
is not provided, the pointer is assumed to be 0-terminated.
The memory address to read
Optional
byteOffset: numberbytes to skip before reading
Optional
byteLength: numberbytes to read
While there are some checks to catch invalid pointers, this is a difficult thing to do safely. Passing an invalid pointer can crash the program and reading beyond the bounds of the pointer will crash the program or cause undefined behavior. Use with care!
Generated using TypeDoc
Read a pointer as a Buffer
If
byteLength
is not provided, the pointer is assumed to be 0-terminated.