Read a pointer as an ArrayBuffer
If byteLength
is not provided, the pointer is assumed to be 0-terminated.
Symbol
Read a pointer as an ArrayBuffer
If byteLength
is not provided, the pointer is assumed to be 0-terminated.
The memory address to read
bytes to skip before reading
bytes 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!
Represents a raw buffer of binary data, which is used to store data for the different typed arrays. ArrayBuffers cannot be read from or written to directly, but can be passed to a typed array or DataView Object to interpret the raw buffer as needed.