C4 Engine Terathon Software C4 Engine API Documentation

• Message Manager

API Links
Developer Links

Compressor::GetSize

Defined in:  C4Messages.h
Returns the current size of the compressed data.
Prototype

unsigned long GetSize(voidconst;

Description
The GetSize function returns the total number of bytes written to the Compressor object. When the Message::Compress function is called, the Compressor object passed in initially has a size of zero. No more than kMaxMessageSize - 1 bytes should be written to a Compressor object.