mirror of
https://github.com/msgpack/msgpack-c
synced 2026-06-08 16:11:40 +00:00
3bd0172a9a
*buffer means sbuffer, zbuffer, fbuffer, and vrefbuffer.
The logic is as follows:
if buf is NULL
if len is 0
do nothing return 0 (success)
else
assertion fail
else
set contants to *buffer