mirror of
https://github.com/msgpack/msgpack-c
synced 2026-06-08 16:11:40 +00:00
Updated v2_0_c_overview (markdown)
+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().
|
||||
|
||||
|
||||
Reference in New Issue
Block a user