Re: How big is my message

Giganews Newsgroups
Subject: Re: How big is my message
Posted by:  Remy Lebeau (TeamB) (no.spam@no.spam.com)
Date: Wed, 17 Aug 2005

"Grant Brown" <gra…@sitedoc.com.au> wrote in message
news:73BDA8EFA0D6E240gra…@sitedoc.com.au...

> How can I obtain the total number of bytes that
> will be sent by a TidMessage component

The only way is to save the TIdMessage to a file or TStream and then use the
Size of that.  Even then, that is not 100% accurate, since TIdMessage is
dynamically encoded during transmission and thus the byte contents are not
guaranteed to be exactly the same.

Gambit

Replies

None

In response to

How big is my message posted by Grant Brown on Wed, 17 Aug 2005