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:
frsyuki
2009-02-15 09:09:58 +00:00
parent 921b0ff62e
commit 1ad04b22d8
9 changed files with 28 additions and 139 deletions

View File

@@ -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: