MemStreamToString

<< Click to Display Table of Contents >>

Navigation:  Handling Events via Scripting > Objects and Functions > Utility functions >

MemStreamToString

function MemStreamToString(M: TMemoryStream): AnsiString;

 

This function dumps the entire content of a TMemoryStream into an ANSI-encoded string object.

 

Parameters

M

The memory stream

 

Return value

AnsiString

This function returns an AnsiString containing the contents of the memory stream that was passed as an argument