msgpack-c
msgpack-c copied to clipboard
c language sample question
hi redboltz
i want use c language to package some data by msgpack-c,when i read sample_c.c this file,i don't understand some api,because i can not find intruduce for this api,just like this picture, could you tell me some information about this api,how to use it and what parameter means? 3ks

You can find documentation about the C api on the wiki here: https://github.com/msgpack/msgpack-c/wiki/v2_0_c_overview#packer
Also the sample uses msgpack_unpack which is said to be obsolete in this section:
https://github.com/msgpack/msgpack-c/wiki/v2_0_c_overview#using-unpack-function