C4 Engine
C4 Engine API Documentation

Compressor::GetDataSize

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

uint32 GetDataSize(voidconst;

Description
The GetDataSize function returns the total number of bytes written to the Compressor object. When the Message::CompressMessage 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.