Implement writeToMemory
/readFromMemory
for pointers
#11734
Merged
writeToMemory
/readFromMemory
for pointers
#11734