Updated v2_0_c_overview (markdown)

Takatoshi Kondo
2020-06-30 23:15:59 +09:00
parent be76a99edc
commit 19b07c705d
+1 -1
@@ -173,7 +173,7 @@ Now, msgpack_unpacker has enough buffer size. You can get buffer pointer using m
memcpy(msgpack_unpacker_buffer(&unp), data, request_size);
```
The number of writing bytes is might not always equal to reqest_size. See https://github.com/msgpack/msgpack-c/blob/c_master/example/c/lib_buffer_unpack.c.
The number of writing bytes is might not always equal to reqest_size. See https://github.com/msgpack/msgpack-c/blob/c_master/example/lib_buffer_unpack.c.
After writing, you need to notify the number of wrote bytes to msgpack_unpacker using msgpack_unpacker_buffer_consumed().