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 explicit buffer option #5

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

Conversation

emilbayes
Copy link

A concrete usecase is reading file chunks into the memory of a webassembly function for hashing

@emilbayes
Copy link
Author

Build error seems to unrelated to my tests 🤔

@dominictarr
Copy link
Member

okay, although this is definitely a if-you-know-what-you-are-doing option. can it generate a random file for the test instead of checking something in though, because this will bloat the download size needlessly

@emilbayes
Copy link
Author

emilbayes commented Nov 28, 2017

Can do! Was just using one of the existing test fixtures. Did you notice the race condition in the append test?

EDIT: Sorry I forgot I added a jpg. Will remove again, then you can squash merge

@dominictarr
Copy link
Member

merged into 1.1.0, thanks!

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.

2 participants