msgpack-c icon indicating copy to clipboard operation
msgpack-c copied to clipboard

c language sample question

Open haozhuo1987 opened this issue 6 years ago • 1 comments

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 image

haozhuo1987 avatar Aug 09 '19 08:08 haozhuo1987

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

Reobos avatar Aug 16 '19 19:08 Reobos