mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-10-13 22:50:19 +02:00
lang/c/msgpack: divide pack_raw() into pack_raw() and pack_raw_body()
git-svn-id: file:///Users/frsyuki/project/msgpack-git/svn/x@74 5a5092ae-2292-43ba-b2d5-dcab9c1a2731
This commit is contained in:
@@ -173,7 +173,8 @@ packer<Stream>& operator<< (packer<Stream>& o, const object& v)
|
||||
return o;
|
||||
|
||||
case type::RAW:
|
||||
o.pack_raw(v.via.ref.ptr, v.via.ref.size);
|
||||
o.pack_raw(v.via.ref.size);
|
||||
o.pack_raw_body(v.via.ref.ptr, v.via.ref.size);
|
||||
return o;
|
||||
|
||||
case type::ARRAY:
|
||||
|
Reference in New Issue
Block a user