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

Please add a way to pack string into msgpack bin type #89

Open
hanbing0715 opened this issue Jun 22, 2016 · 1 comment
Open

Please add a way to pack string into msgpack bin type #89

hanbing0715 opened this issue Jun 22, 2016 · 1 comment

Comments

@hanbing0715
Copy link

like said in title
in msgpack-php we can unpack msgpack bin into php string
but no way to pack string into msgpack bin
how about add a option like msgpack-python's use_bin_type
when it's true
transfrom php string into msgpack bin

@maks-rafalko
Copy link

Quite surprised this is not implemented in the official PHP package.

For those who still need it: there is an implementation in pure PHP that has a feature to pack strings to bin type: https://github.com/rybakit/msgpack.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants