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 Stream buffer validation helper #1605

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

Rob-Hague
Copy link
Collaborator

On netcore we can use https://learn.microsoft.com/dotnet/api/system.io.stream.validatebufferarguments

On lower targets we define a helper

@Rob-Hague Rob-Hague force-pushed the validatebufferargs branch from cff8955 to 79ad872 Compare March 2, 2025 19:31
@Rob-Hague Rob-Hague force-pushed the validatebufferargs branch from 79ad872 to 37efd95 Compare March 2, 2025 19:35
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

Successfully merging this pull request may close these issues.

1 participant