I allocate memory using GetMem (1028 bytes long), so I have a dedicated pointer.
Then I read the contents, and I know that there is, for example, 1028 bytes read. how can i cast a pointer or convert it to a string?
Should I ignore memory contents before conversion?
Thank!
source
share