Jump to content
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×