diff --git a/v2_0_c_overview.md b/v2_0_c_overview.md index 58ab708..17b761c 100644 --- a/v2_0_c_overview.md +++ b/v2_0_c_overview.md @@ -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().