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

Add a Memory Reader that owns the buffer via std::move #375

Open
Brett208 opened this issue Jan 18, 2021 · 0 comments
Open

Add a Memory Reader that owns the buffer via std::move #375

Brett208 opened this issue Jan 18, 2021 · 0 comments

Comments

@Brett208
Copy link
Member

Discussed in PR #373 as maybe useful.

Would be an alternative to the current MemoryReader that accesses a buffer owned by an external source.

Could provide additional guarantees of no changes to memory state when reading from a buffer that would be immediately disposed of after reading (I think a common use case).

Possibility of improved semantics in code from MemoryReader in some cases, but this idea hasn't been fully explored.

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