chunk-store-stream
chunk-store-stream copied to clipboard
Convert an abstract-chunk-store compliant store into a readable or writable stream
**What is the purpose of this pull request? (put an "X" next to item)** [ ] Documentation update [ ] Bug fix [ ] New feature [x] Other, please explain:...
This patch turns on zero padding and adds a test for unaligned chunks to fix #1.
I think [`zeroPadding: false`](https://github.com/feross/chunk-store-stream/blob/c999d61a23c2b74f8fd7b810358a8c128ee85899/write.js#L23) violates the expectations of the abstract-chunk-store test suite: https://github.com/mafintosh/abstract-chunk-store/blob/master/tests/index.js#L25-L34 With `zeroPadding: false`, chunks are written to the store that are smaller than the chunkLength, which according...