Estimating Size

Dec 23, 2010 at 1:49 AM

Hello, does anyone know of a elegant way of calculating the size of a stream after it is compressed?

Is the best way compress it and then find out?

 

Many thanks