-
Notifications
You must be signed in to change notification settings - Fork 44
add compression support in GetMsgPackedValueAsString #327
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 compression support in GetMsgPackedValueAsString #327
Conversation
1e47f94 to
f90462c
Compare
gmossessian
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
didn't really check the c++ code very carefully but left some questions. feel free to ping on slack :)
|
|
||
| std::string GetValueAsString(uint64_t fsa_value) const override { return ""; } | ||
|
|
||
| std::string GetRawValueAsString(uint64_t fsa_value) const override { return "\x00\xc0"; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just curious, what is \x00\xc0? both here and \xc0 below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm, wish there were a msgpack::nil constant or something but oh well. resolving.
|
I made a workaround for the boost issue on mac by downgrading the version. The newest version on homebrew has an incompatible change in boost. This should be fixed in a separate PR. |
adds support to retrieve a compressed version of the msgpacked value. If values are stored compressed directly uses the stored/compressed value.