title: Pointer to String conversion?
body: <p>I am allocating the memory with GetMem (1028 bytes length), so I have an allocated Pointer.</p>
  
  <p>Then I am reading the content and I know that there is e.g. 1028 bytes read.
  how can I cast pointer, or convert it to a string?</p>
  
  <p>Should I null terminate the content of the memory prior to conversion?</p>
  
  <p>Thanks!</p>