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

Add support for Buffers as keys, which is useful for Avro encoded keys. #932

Merged
merged 1 commit into from
Apr 24, 2018

Conversation

Foosvald
Copy link
Contributor

This adds support for using Buffers as keys. Earlier in hashCode() it tried to do string.charCodeAt which failed if the variable was a Buffer. But in my patch it simply does .toString() first. This is needed when having Avro encoded keys for example, which we use in our project.

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.

2 participants