antirez / lua-cmsgpack

A self contained Lua MessagePack C implementation.
355 stars 118 forks source link

Can't decode str8 string #40

Open qi7chen opened 9 years ago

qi7chen commented 9 years ago

I pack a 32 bytes string in C++(using msgpack-c), and send to lua by network, but lua-cmgpack issues 'Bad data format in input' message when decoding. as MessagePack specification says, str8 type comes with a 0xd9 byte, seems not handled in lua-cmsgpack.

slowernet commented 9 years ago

https://github.com/antirez/lua-cmsgpack/pull/44 for this from @seppo0010