mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-12-28 21:34:56 +01:00
*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