Jump to content
Registration disabled at the moment Read more... ×
Ian Branch

Anything in a TMemoryStream??

Recommended Posts

Hi Team,

I am ostensibly sending a PDF file to a TMemoryStream.

How do I test if the TMemoryStream has been 'loaded'?

Regards & TIA,

Ian

 

Share this post


Link to post

TMemoryStream has a size property which is size in bytes, just check to see that it is greater than zero or some minimum size that you find acceptable.

 

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×