# question

Accepted
322 5 11 16

## Question About Encoding Set Defs

There are flags HAS_SET_DEFS in some containers (Series, Map and Vector). And there is a encSetDefs buffer in the container’s members.

{

typedef struct
{
RsslBuffer                           encSetDefs;                       /*!< @brief Contains encoded set definition information when present. Presence is indicated by \ref RsslSeriesFlags ::RSSL_SRF_HAS_SET_DEFS.   When decoding, this contains encoded set definitions.  When encoding, pre-encoded set definition information can be specified here; if not pre-encoded the user can encode set definitions and invoke rsslEncodeSeriesSetDefsComplete() when ready to continue encoding RsslSeries contents. */


My question is how to decode the encSetDefs? We have tried to decode it as a container indicated by containerType and to decode it as Series but failed. Could you please help to tell us which API should be used to decode it? And when encoding, what kind of structure should be encoded into it? If possible, appreciate any example about this function.

Thanks

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.