mirror of
https://github.com/msgpack/msgpack-c
synced 2026-06-08 16:11:40 +00:00
755342bb25
In the case the target type is char[] or const char[], If the array is '\0' teminated, msgpack-c packs the characters before '\0', otherwise packs all characters. When converting, the array has the size that is greater than msgpack::object STR's size, msgpack-c adds '\0' to just after converted characters. Otherwise msgpack-c doesn't add '\0'.