Function readText

Reads string from InputStream and stores it in unmanaged memory

string readText (
  InputStream istrm
);