RawMemoryRead
RawMemoryRead[ptr]
reads raw memory from the pointer ptr.
RawMemoryRead[ptr,offset]
reads from an offset pointer.
Details
- Supported values of ptr include RawPointer expressions and ManagedObject expressions whose values are pointers.
Examples
open allclose allBasic Examples (2)
Allocate an object of type "CInt":
Write a value to the raw memory:
Scope (1)
RawMemoryRead supports passing a managed pointer as its first argument:
Properties & Relations (1)
Export a ByteArray as raw memory:
RawMemoryRead reads the contents of the raw memory:
RawMemoryImport can be used for the same purpose:
Text
Wolfram Research (2023), RawMemoryRead, Wolfram Language function, https://reference.wolfram.com/language/ref/RawMemoryRead.html.
CMS
Wolfram Language. 2023. "RawMemoryRead." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/RawMemoryRead.html.
APA
Wolfram Language. (2023). RawMemoryRead. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/RawMemoryRead.html