Page 1 of 1

How to get content size (fast)

Posted: Sun Nov 15, 2015 11:17 am
by 11111
For now to calculate RV data size I do save to stream and the stream.size is size of the content, may you suggest more fast method ?

Posted: Sun Nov 15, 2015 3:50 pm
by Sergey Tkachenko
Sorry, it is not possible without saving.
For faster saving, you can use TRVMemoryStream instead of TMemoryStream (defined in RVClasses.pas)