Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix exception on empty string #37

Merged
merged 1 commit into from
Oct 25, 2016
Merged

Conversation

BrettThePark
Copy link
Contributor

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.

@a2 a2 merged commit c92da0e into a2:master Oct 25, 2016
@a2
Copy link
Owner

a2 commented Oct 25, 2016

Thanks for this! What an oversight on my part 😅

@BrettThePark BrettThePark deleted the allowEmptyString branch April 5, 2017 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants