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

Provide access to underlying encoded buffers #248

Open
BrianSipos opened this issue Jul 17, 2024 · 1 comment
Open

Provide access to underlying encoded buffers #248

BrianSipos opened this issue Jul 17, 2024 · 1 comment

Comments

@BrianSipos
Copy link
Contributor

I have a need to access the original buffer from an associated QCBOREncodeContext and QCBORDecodeContext and would prefer to not need to pass around the context and its associated buffer. Instead it would be convenient to be able to access the buffer from an active context. I am currently using the 'private' fields of the context to get the buffer but would rather use a public, stable, and documented function to get access.

@laurencelundblade
Copy link
Owner

Makes sense given some of the other things you've asked for.

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

2 participants