A stream of fixed-size blocks
Latest commit 321cf24 May 1, 2016 @isaacs v0.0.9
Failed to load latest commit information.
bench block-stream-pause benchmark May 30, 2015
test Use latest and greatest tap for testing May 1, 2016
.gitignore gitignore coverage stuff May 30, 2015
.travis.yml travis ci file Jun 3, 2015
LICENCE bsd lic Mar 16, 2012
LICENSE isc license May 20, 2015
README.md 1st Oct 6, 2011
block-stream.js Smarter pause/resume mid-stream Nov 7, 2011
package.json v0.0.9 May 1, 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.