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

Streaming file reads + more #2

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

mic159
Copy link
Contributor

@mic159 mic159 commented Mar 19, 2016

I have made a few changes to improve the library:

  • Stream the file in instead of reading the whole file then using substrings.
  • Don't parse the header twice (once to determine the type, then again inside).
  • Verify the packet with the checksum in the header
  • Parse Main packets
  • Parse InputFileSliceChecksum packets

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