Recently came across an incompatibility with msgpack-java. I was encoding a binary array with variable size (0..n), and unpacking was throwing an exception for the 0 size case. There's no explicit restriction in the spec that would forbid a 0 size binary, and both this library and the Java library will happily pack a zero-sized binary. So I removed the assertion and added some basic tests.
This solves my problem, but it would be good to see this hit upstream. Let me know what you think.
Hello @a2 ,
Recently came across an incompatibility with msgpack-java. I was encoding a binary array with variable size (0..n), and unpacking was throwing an exception for the 0 size case. There's no explicit restriction in the spec that would forbid a 0 size binary, and both this library and the Java library will happily pack a zero-sized binary. So I removed the assertion and added some basic tests.
This solves my problem, but it would be good to see this hit upstream. Let me know what you think.
Cheers,
Jarrod