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

Support for binary data for DBConnector::hgetall #886

Open
gpunathilell opened this issue Jun 27, 2024 · 0 comments
Open

Support for binary data for DBConnector::hgetall #886

gpunathilell opened this issue Jun 27, 2024 · 0 comments

Comments

@gpunathilell
Copy link

Currently we cannot read binary data using the get_all function in python for a SonicV2Connector. Similar to the fix done for Table::get in #836 a fix is required for DBConnector::hgetall function which would allow support for binary data for the SonicV2Connector in Python.
To support binary data that can contain null bytes, the redis reply str is passed along with its len into the std::string(char*,size_t) constructor that supports the input size.

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

No branches or pull requests

1 participant