Dynamic Buffer Serialization

When using the dynamic buffer style of serialization, the marshalling buffer is allocated by the stub, and the data is encoded into this buffer and passed back to you. When unmarshaling, you supply the buffer that contains the data.

The dynamic buffer style of serialization uses the following routines:

The MesEncodeDynBufferHandleCreate function allocates the memory needed for the encoding handle and then initializes it. The application can call MesBufferHandleReset to reinitialize the handle. It calls MesHandleFree to free the handle's memory. To create a decoding handle corresponding to the dynamic buffer encoding handle, use MesDecodeBufferHandleCreate.