Currently, when an empty string is contained in the message pack the code will throw an exception. This seems like the wrong behaviour as I believe an empty string is completely valid (0xa0).
This change returns an empty string "" when a count of 0 is found.
Currently, when an empty string is contained in the message pack the code will throw an exception. This seems like the wrong behaviour as I believe an empty string is completely valid (
0xa0
).This change returns an empty string
""
when a count of 0 is found.