CPXXserializerlength and CPXserializerlength
Queries the size of the memory block currently used by the
serializer ser.
CPXLONG CPXXserializerlength( CPXCSERIALIZERptr ser )
CPXLONG CPXserializerlength( CPXCSERIALIZERptr ser )
Description
Queries the size of the memory block currently used by the serializerser.
A serializer created by the routine
CPXXserializercreate/CPXserializercreate serializes
data into an internal memory block. This routine returns the
size of this block in bytes; that is, it returns the number of
valid bytes at the beginning of the block returned by
CPXXserializerpayload/CPXserializerpayload.
Arguments
- ser
-
The serializer to query.
The serializer must be a valid serializer as returned by
CPXXserializercreate/CPXserializercreate.
Return
This routine returns the number of bytes currently used in the serializerser.