A stream of fixed-size blocks
Latest commit d072e52 Aug 12, 2016 @isaacs Remove extraneous license file
Fix #11
Failed to load latest commit information.
bench block-stream-pause benchmark May 30, 2015
test Use latest and greatest tap for testing May 2, 2016
.gitignore gitignore coverage stuff May 30, 2015
.travis.yml travis ci file Jun 3, 2015
LICENSE isc license May 20, 2015
README.md 1st Oct 7, 2011
block-stream.js Smarter pause/resume mid-stream Nov 8, 2011
package.json v0.0.9 May 2, 2016



A stream of blocks.

Write data into it, and it'll output data in buffer blocks the size you specify, padding with zeroes if necessary.

var block = new BlockStream(512)

When .end() or .flush() is called, it'll pad the block with zeroes.