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

Cater for key not found #1

Open
tpmccallum opened this issue May 8, 2020 · 0 comments
Open

Cater for key not found #1

tpmccallum opened this issue May 8, 2020 · 0 comments

Comments

@tpmccallum
Copy link
Contributor

When the C++ calls this library it provides a DB key to the value.
If the key is found in the DB this library returns a pointer to the data and the length

A solution is required for cases where the key does not exist. For example, C++ needs to get back something meaningful (using the same data types) which allows C++ to determine that the key does not exist.

Perhaps the get_byte_array_length function could return 0

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