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

Improve TryReadStream with simplification & fix of Stream Invalid Length cutting off Streams #837

Closed
wants to merge 6 commits into from

Conversation

sbruyere
Copy link
Contributor

  • Fix of Stream invalid Length issue causing stream data being cut off: fix Streams are cut off at Length which extracts incomplete files #809

  • Improve Stream Token read performance by:

    • simplifying TryReadStream(), avoiding use of MemoryStream, with benefice of already existing Memory Span of "inputBytes"
    • removing the unecessary List<>

…ully read).

- Improve Stream read performance by simplifying TryReadStream(), avoiding use of MemoryStream, with benefice of already existing Memory Span of "inputBytes"
…ully read).

- Improve Stream read performance by simplifying TryReadStream(), avoiding use of MemoryStream, with benefice of already existing Memory Span of "inputBytes"
fix #809

- Improve Stream Token read performance by:
  -  simplifying TryReadStream(), avoiding use of MemoryStream, with benefice of already existing Memory Span of "inputBytes"
  - removing the unecessary List<>
@sbruyere sbruyere closed this May 21, 2024
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.

Streams are cut off at Length which extracts incomplete files
1 participant