CPXXserializerpayload and CPXserializerpayload
Queries the internal memory buffer used by ser.
void const * CPXXserializerpayload( CPXCSERIALIZERptr ser )
void const * CPXserializerpayload( CPXCSERIALIZERptr ser )
Description
Queries the internal memory buffer used byser.
A serializer created by the routine
CPXXserializercreate/CPXserializercreate serializes
data into an internal memory block (that is, a buffer).
This routine returns a
pointer to this buffer. You can query the length of the buffer
by the routine CPXXserializerlength/CPXserializerlength.
Arguments
- ser
-
The serializer to query.
The serializer must be a valid serializer as returned by
CPXXserializercreate/CPXserializercreate.
Return
This routine returns a pointer to the beginning of the internal memory buffer used byser. This pointer is
valid only until the next change to ser. Adding more
data to ser invalidates the pointer.
Destroying ser invalidates the pointer.