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 tests for multi member decompression #146

Closed
wants to merge 1 commit into from

Conversation

rbuels
Copy link

@rbuels rbuels commented Sep 1, 2018

This adds some passing tests for decompressing multi-member files.

fixes #139 by showing that pako works as-is for decompressing bgzip files.



function a2s(array) {
return String.fromCharCode.apply(null, array);
}

function readMultiMemberStream(inputData) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand why to you use helper with chunks here instead of direct single pako.inflate() call.

@rbuels
Copy link
Author

rbuels commented Sep 5, 2018 via email

@puzrin
Copy link
Member

puzrin commented Sep 5, 2018

IMHO such reason is not correct. After the right issue fix single inflate call should work.

@puzrin
Copy link
Member

puzrin commented Sep 5, 2018

1a68969 added test to branch as it's expected to be.

@puzrin puzrin closed this Sep 5, 2018
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.

Failing for BGZIP'd streaming files
2 participants